public static class BridgeHelper.Endpoint extends Object implements Contact, Serializable
| Constructor and Description |
|---|
Endpoint(String name,
int vmid,
String host,
String addr,
int port,
String ds,
List<String> groups)
Creates an endpoint for a bridge server.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAddress()
Returns the bridge server address.
|
String |
getDistributedSystemName()
Returns the bridge server distributed system name.
|
List<String> |
getGroups()
Returns the bridge server groups.
|
String |
getHost()
Returns the bridge server host.
|
String |
getId()
Returns the unique bridge server logical endpoint ID.
|
String |
getName()
Returns the bridge server logical VM name.
|
int |
getPort()
Returns the bridge server port.
|
int |
getVmid()
Returns the bridge server logical VM ID.
|
int |
hashCode() |
String |
toString()
Returns the endpoint as a string suitable for use in endpoint properties.
|
public Endpoint(String name, int vmid, String host, String addr, int port, String ds, List<String> groups)
name - the logical hydra client VM name from ClientPrms.names found via the ClientPrms.CLIENT_NAME_PROPERTY system property.vmid - the logical hydra client VM ID found via RemoteTestModule.getMyVmid().host - the bridge server host.addr - the bridge server address.port - the bridge server port.ds - the bridge server distributed system name.groups - the bridge server groups.public String getId()
public String getName()
public int getVmid()
public String getHost()
public String getAddress()
getAddress in interface Contactpublic int getPort()
public String getDistributedSystemName()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.