public interface ConnectionAdapter extends IncomingEntryReceiver
NULL
Modifier and Type | Method and Description |
---|---|
void |
badMessage(BadMessageException e)
called if a bad message exception is thrown
|
void |
clientHello(char protocolRevision)
Called when the connection receives a client hello message
|
NetworkTableEntry |
getEntry(char id)
get an entry (used by a connection when filling an update entry
|
void |
ioException(java.io.IOException e)
called if an io exception is thrown
|
void |
keepAlive()
Called when the connection receives a keep alive message
|
void |
protocolVersionUnsupported(char protocolRevision)
Called when the connection receives a protocol unsupported message
|
void |
serverHelloComplete() |
offerIncomingAssignment, offerIncomingUpdate
void keepAlive() throws java.io.IOException
java.io.IOException
void clientHello(char protocolRevision) throws java.io.IOException
protocolRevision
- java.io.IOException
void protocolVersionUnsupported(char protocolRevision) throws java.io.IOException
protocolRevision
- the protocol version the server reported it supportsjava.io.IOException
void serverHelloComplete() throws java.io.IOException
java.io.IOException
NetworkTableEntry getEntry(char id)
id
- void badMessage(BadMessageException e)
e
- void ioException(java.io.IOException e)
e
-