Public Member Functions | |
MessageListenerForwarding (int topic_id, Protocol p) | |
void | onNewMessage (MessageType t) |
Private Attributes | |
int | id |
Protocol | protocol |
Forwards messages via a subscriber callback for a subscriber topic to the packet handler which communicates with the remote endpoint.
Definition at line 366 of file Protocol.java.
org.ros.rosserial.Protocol.MessageListenerForwarding< MessageType >.MessageListenerForwarding | ( | int | topic_id, |
Protocol | p | ||
) | [inline] |
Definition at line 378 of file Protocol.java.
void org.ros.rosserial.Protocol.MessageListenerForwarding< MessageType >.onNewMessage | ( | MessageType | t | ) | [inline] |
Definition at line 384 of file Protocol.java.
int org.ros.rosserial.Protocol.MessageListenerForwarding< MessageType >.id [private] |
The topic ID for this listener.
Definition at line 376 of file Protocol.java.
The protocol handler handling the communication for the topic.
Definition at line 371 of file Protocol.java.