@Beta public final class TwoWayP2PIntent extends ConnectivityIntent
Modifier and Type | Class and Description |
---|---|
static class |
TwoWayP2PIntent.Builder
Builder of a point to point intent.
|
DEFAULT_INTENT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY
Modifier and Type | Method and Description |
---|---|
static TwoWayP2PIntent.Builder |
builder()
Returns a new two way intent builder.
|
ConnectPoint |
one()
Returns identifier of the first host.
|
java.lang.String |
toString() |
ConnectPoint |
two()
Returns identifier of the second host.
|
constraints, resources, resources, selector, treatment
appId, bindIdGenerator, equals, hashCode, id, isInstallable, key, priority, resourceGroup, resources, unbindIdGenerator
public static TwoWayP2PIntent.Builder builder()
public ConnectPoint one()
public ConnectPoint two()
public java.lang.String toString()
toString
in class java.lang.Object