Class SubscriberHandshake

java.lang.Object
org.ros.internal.node.BaseClientHandshake
org.ros.internal.node.topic.SubscriberHandshake
All Implemented Interfaces:
ClientHandshake

public class SubscriberHandshake extends BaseClientHandshake
Handshake logic from the subscriber side of a topic connection.
Author:
damonkohler@google.com (Damon Kohler)
  • Constructor Details

    • SubscriberHandshake

      public SubscriberHandshake(ConnectionHeader outgoingConnectionHeader)
  • Method Details

    • handshake

      public boolean handshake(ConnectionHeader incommingConnectionHeader)
      Parameters:
      incommingConnectionHeader - the ConnectionHeader sent by the server
      Returns:
      true if the handshake is successful, false otherwise