public class DatagramReceiver extends MessageDecoder
Connection.ConnectionListener
Modifier and Type | Field and Description |
---|---|
(package private) Connection |
connection |
(package private) NodeID |
far |
(package private) NodeID |
here |
Constructor and Description |
---|
DatagramReceiver(NodeID here,
NodeID far,
Connection c) |
Modifier and Type | Method and Description |
---|---|
void |
handleDatagram(DatagramMessage msg,
Connection sender)
Handle "Datagram" message
|
defaultHandler, handleConsumerIdentified, handleDatagramAcknowledged, handleDatagramRejected, handleIdentifyConsumers, handleIdentifyEvents, handleIdentifyProducers, handleInitializationComplete, handleLearnEvent, handleOptionalIntRejected, handleProducerConsumerEventReport, handleProducerIdentified, handleProtocolIdentificationReply, handleProtocolIdentificationRequest, handleSimpleNodeIdentInfoReply, handleSimpleNodeIdentInfoRequest, handleStreamDataComplete, handleStreamDataProceed, handleStreamDataSend, handleStreamInitReply, handleStreamInitRequest, handleVerifiedNodeIDNumber, handleVerifyNodeIDNumber, put
registerStartNotification
NodeID here
NodeID far
Connection connection
public DatagramReceiver(NodeID here, NodeID far, Connection c)
public void handleDatagram(DatagramMessage msg, Connection sender)
handleDatagram
in class MessageDecoder
Information on copyright, trademarks and licenses is linked here.
Site hosted by: