|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ros.internal.node.topic.SubscriberHandshake
public class SubscriberHandshake
Constructor Summary | |
---|---|
SubscriberHandshake(java.util.Map<java.lang.String,java.lang.String> outgoingHeader)
|
Method Summary | |
---|---|
java.lang.String |
getErrorMessage()
|
java.util.Map<java.lang.String,java.lang.String> |
getOutgoingHeader()
|
boolean |
handshake(java.util.Map<java.lang.String,java.lang.String> incomingHeader)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubscriberHandshake(java.util.Map<java.lang.String,java.lang.String> outgoingHeader)
Method Detail |
---|
public boolean handshake(java.util.Map<java.lang.String,java.lang.String> incomingHeader)
handshake
in interface ClientHandshake
incomingHeader
- the ConnectionHeader
sent by the server
true
if the handshake is successful, false
otherwisepublic java.util.Map<java.lang.String,java.lang.String> getOutgoingHeader()
getOutgoingHeader
in interface ClientHandshake
ConnectionHeader
public java.lang.String getErrorMessage()
getErrorMessage
in interface ClientHandshake
String
returned by the server if an error occurs,
null
otherwise
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |