Interface IConnectedHost
-
- All Known Implementing Classes:
ServerConnection
,WebConnectedHost
public interface IConnectedHost
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,IRegisteredHost>
getRegisteredHosts()
Retrieves the registered hosts.java.net.InetAddress
getRemoteAddress()
Gets the address of the connected host.java.net.DatagramSocket
getUdpSocket()
Retrieves the UDP socket for testing communication.
-
-
-
Method Detail
-
getRegisteredHosts
java.util.Map<java.lang.String,IRegisteredHost> getRegisteredHosts()
Retrieves the registered hosts.- Returns:
- The registered hosts.
-
getRemoteAddress
java.net.InetAddress getRemoteAddress()
Gets the address of the connected host.- Returns:
- The address.
-
getUdpSocket
java.net.DatagramSocket getUdpSocket()
Retrieves the UDP socket for testing communication.- Returns:
- The UDP socket.
-
-