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()
Endpoint
public BrokerId getBrokerId()
getBrokerId
in interface Endpoint
public BrokerInfo getBrokerInfo()
getBrokerInfo
in interface Endpoint
public void setBrokerInfo(BrokerInfo brokerInfo)
setBrokerInfo
in interface Endpoint
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.