public class BaseEndpoint extends Object implements Endpoint
| Constructor and Description |
|---|
BaseEndpoint(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
|
String |
getName()
Returns the name of the endpoint.
|
void |
setBrokerInfo(BrokerInfo brokerInfo) |
String |
toString() |
public BaseEndpoint(String name)
public String getName()
Endpointpublic BrokerId getBrokerId()
getBrokerId in interface Endpointpublic BrokerInfo getBrokerInfo()
getBrokerInfo in interface Endpointpublic void setBrokerInfo(BrokerInfo brokerInfo)
setBrokerInfo in interface EndpointCopyright © 2005–2015 FuseSource, Corp.. All rights reserved.