Class TwoWayP2PIntent


  • @Beta
    public final class TwoWayP2PIntent
    extends ConnectivityIntent
    Abstraction of bidirectional connectivity between two points in the network.
    • Method Detail

      • builder

        public static TwoWayP2PIntent.Builder builder()
        Returns a new two way intent builder.
        Returns:
        two way intent builder
      • one

        public ConnectPoint one()
        Returns identifier of the first host.
        Returns:
        first host identifier
      • two

        public ConnectPoint two()
        Returns identifier of the second host.
        Returns:
        second host identifier
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object