Package org.ros.internal.transport
Interface ClientHandshake
- All Known Implementing Classes:
BaseClientHandshake,ServiceClientHandshake,SubscriberHandshake
public interface ClientHandshake
Encapsulates client-side transport handshake logic.
- Author:
- damonkohler@google.com (Damon Kohler)
-
Method Summary
-
Method Details
-
handshake
- Parameters:
incommingConnectionHeader- theConnectionHeadersent by the server- Returns:
trueif the handshake is successful,falseotherwise
-
getOutgoingConnectionHeader
ConnectionHeader getOutgoingConnectionHeader()- Returns:
- the outgoing
ConnectionHeader
-
getErrorMessage
String getErrorMessage()- Returns:
- the error
Stringreturned by the server if an error occurs,nullotherwise
-