public final class Connection extends Object
| Modifier and Type | Method and Description |
|---|---|
static Connection |
create(String logicalConnectionUid,
Server server,
Endpoint clientEndpoint) |
boolean |
equals(Object o) |
Client |
getClient() |
Endpoint |
getClientEndpoint() |
Context |
getContext() |
String |
getId() |
int |
getLinkedManageableCount() |
String |
getLogicalConnectionUid() |
List<? extends Node> |
getNodePath() |
Optional<Server> |
getServer() |
String |
getServerId() |
String |
getStringPath() |
String |
getStripeId() |
int |
hashCode() |
boolean |
isConnected() |
boolean |
isConnectedTo(Endpoint clientEndpoint) |
boolean |
isConnectedTo(Server server) |
boolean |
isConnectedToActiveServer() |
boolean |
isLinkedToManageable(String name,
String type) |
static String |
key(String logicalConnectionUid,
Server server,
Endpoint clientEndpoint) |
java.util.stream.Stream<Manageable> |
linkedManageableStream() |
boolean |
linkServerManageable(Manageable manageable) |
void |
remove() |
Map<String,Object> |
toMap() |
String |
toString() |
public static final String KEY
public String getLogicalConnectionUid()
public String getServerId()
public String getStripeId()
public Endpoint getClientEndpoint()
public Client getClient()
public java.util.stream.Stream<Manageable> linkedManageableStream()
public int getLinkedManageableCount()
public void remove()
public boolean equals(Object o)
public int hashCode()
public boolean linkServerManageable(Manageable manageable)
public boolean isConnectedToActiveServer()
public boolean isConnectedTo(Server server)
public boolean isConnectedTo(Endpoint clientEndpoint)
public boolean isConnected()
public static Connection create(String logicalConnectionUid, Server server, Endpoint clientEndpoint)
public Context getContext()
getContext in interface Contextualpublic final List<? extends Node> getNodePath()
getNodePath in interface Nodepublic final String getStringPath()
getStringPath in interface NodeCopyright © 2016. All Rights Reserved.