public class LocalTransportChannel extends Object implements TransportChannel
Constructor and Description |
---|
LocalTransportChannel(LocalTransport sourceTransport,
TransportServiceAdapter sourceTransportServiceAdapter,
LocalTransport targetTransport,
String action,
long requestId,
Version version) |
Modifier and Type | Method and Description |
---|---|
String |
action() |
void |
sendResponse(Throwable error) |
void |
sendResponse(TransportResponse response) |
void |
sendResponse(TransportResponse response,
TransportResponseOptions options) |
public LocalTransportChannel(LocalTransport sourceTransport, TransportServiceAdapter sourceTransportServiceAdapter, LocalTransport targetTransport, String action, long requestId, Version version)
public String action()
action
in interface TransportChannel
public void sendResponse(TransportResponse response) throws IOException
sendResponse
in interface TransportChannel
IOException
public void sendResponse(TransportResponse response, TransportResponseOptions options) throws IOException
sendResponse
in interface TransportChannel
IOException
public void sendResponse(Throwable error) throws IOException
sendResponse
in interface TransportChannel
IOException
Copyright © 2009–2015. All rights reserved.