|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Transport
Method Summary | ||
---|---|---|
TransportAddress[] |
addressesFromString(String address)
Returns an address from its string representation. |
|
boolean |
addressSupported(Class<? extends TransportAddress> address)
Is the address type supported. |
|
BoundTransportAddress |
boundAddress()
The address the transport is bound on. |
|
void |
connectToNode(DiscoveryNode node)
Connects to the given node, if already connected, does nothing. |
|
void |
connectToNodeLight(DiscoveryNode node)
Connects to a node in a light manner. |
|
void |
disconnectFromNode(DiscoveryNode node)
Disconnected from the given node, if not connected, will do nothing. |
|
boolean |
nodeConnected(DiscoveryNode node)
Returns true if the node is connected. |
|
|
sendRequest(DiscoveryNode node,
long requestId,
String action,
Streamable message,
TransportRequestOptions options)
Sends the request to the node. |
|
long |
serverOpen()
|
|
void |
transportServiceAdapter(TransportServiceAdapter service)
|
Methods inherited from interface org.elasticsearch.common.component.LifecycleComponent |
---|
addLifecycleListener, lifecycleState, removeLifecycleListener, start, stop |
Methods inherited from interface org.elasticsearch.common.component.CloseableComponent |
---|
close |
Method Detail |
---|
void transportServiceAdapter(TransportServiceAdapter service)
BoundTransportAddress boundAddress()
TransportAddress[] addressesFromString(String address) throws Exception
Exception
boolean addressSupported(Class<? extends TransportAddress> address)
boolean nodeConnected(DiscoveryNode node)
void connectToNode(DiscoveryNode node) throws ConnectTransportException
ConnectTransportException
void connectToNodeLight(DiscoveryNode node) throws ConnectTransportException
ConnectTransportException
void disconnectFromNode(DiscoveryNode node)
<T extends Streamable> void sendRequest(DiscoveryNode node, long requestId, String action, Streamable message, TransportRequestOptions options) throws IOException, TransportException
IOException
TransportException
long serverOpen()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |