org.elasticsearch.transport.local
Class LocalTransportChannel
java.lang.Object
org.elasticsearch.transport.local.LocalTransportChannel
- All Implemented Interfaces:
- TransportChannel
public class LocalTransportChannel
- extends java.lang.Object
- implements TransportChannel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalTransportChannel
public LocalTransportChannel(LocalTransport sourceTransport,
LocalTransport targetTransport,
java.lang.String action,
long requestId)
action
public java.lang.String action()
- Specified by:
action
in interface TransportChannel
sendResponse
public void sendResponse(Streamable message)
throws java.io.IOException
- Specified by:
sendResponse
in interface TransportChannel
- Throws:
java.io.IOException
sendResponse
public void sendResponse(Streamable message,
TransportResponseOptions options)
throws java.io.IOException
- Specified by:
sendResponse
in interface TransportChannel
- Throws:
java.io.IOException
sendResponse
public void sendResponse(java.lang.Throwable error)
throws java.io.IOException
- Specified by:
sendResponse
in interface TransportChannel
- Throws:
java.io.IOException