public class BaseEndpoint extends java.lang.Object implements Endpoint
| Constructor and Description |
|---|
BaseEndpoint(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
BrokerId |
getBrokerId()
Returns the broker ID for this endpoint, if the endpoint is a broker or
null
|
BrokerInfo |
getBrokerInfo()
Returns the broker information for this endpoint, if the endpoint is a
broker or null
|
java.lang.String |
getName()
Returns the name of the endpoint.
|
void |
setBrokerInfo(BrokerInfo brokerInfo) |
java.lang.String |
toString() |
public BaseEndpoint(java.lang.String name)
public java.lang.String getName()
Endpointpublic java.lang.String toString()
toString in class java.lang.Objectpublic BrokerId getBrokerId()
getBrokerId in interface Endpointpublic BrokerInfo getBrokerInfo()
getBrokerInfo in interface Endpointpublic void setBrokerInfo(BrokerInfo brokerInfo)
setBrokerInfo in interface EndpointCopyright © 2005-2012. All Rights Reserved.