public abstract class UDPcommunicationLayer extends AbstractCommunicationLayer
Constructor and Description |
---|
UDPcommunicationLayer() |
Modifier and Type | Method and Description |
---|---|
boolean |
closeConnection()
Closes this layer and calls closeConnection() on the layer below.
|
boolean |
getConnectionState() |
getAbove, getBelow, getRawBytes, openConnection, readByte, readDouble, readFloat, readLong, recvData, sendData, sendData, setAbove, setBelow
public boolean closeConnection() throws java.io.IOException
ICommunicationLayer
closeConnection
in interface ICommunicationLayer
closeConnection
in class AbstractCommunicationLayer
java.io.IOException
public boolean getConnectionState()
getConnectionState
in interface ICommunicationLayer
getConnectionState
in class AbstractCommunicationLayer