public interface HttpServerTransport extends org.elasticsearch.common.component.LifecycleComponent<HttpServerTransport>
Modifier and Type | Method and Description |
---|---|
org.elasticsearch.common.transport.BoundTransportAddress |
boundAddress()
Return the bound transport addess
|
org.jboss.netty.channel.Channel |
channel(Integer id)
Find channel for a given channel ID
|
void |
forward(String nodeAdress,
Integer channelId,
org.elasticsearch.common.xcontent.XContentBuilder message)
Forward a message to a node for a given channel ID
|
void |
httpServerAdapter(HttpServerAdapter httpServerAdapter)
Set HTTP server adapter
|
HttpInfo |
info() |
HttpStats |
stats()
Get HTTP statistics
|
void |
webSocketServerAdapter(WebSocketServerAdapter webSocketServerAdapter)
Set WebSocket server adapter
|
org.elasticsearch.common.transport.BoundTransportAddress boundAddress()
void httpServerAdapter(HttpServerAdapter httpServerAdapter)
httpServerAdapter
- void webSocketServerAdapter(WebSocketServerAdapter webSocketServerAdapter)
webSocketServerAdapter
- org.jboss.netty.channel.Channel channel(Integer id)
id
- Copyright © 2012–2014. All rights reserved.