public class LocalTransportChannel extends Object implements TransportChannel
| Constructor and Description |
|---|
LocalTransportChannel(LocalTransport sourceTransport,
TransportServiceAdapter sourceTransportServiceAdapter,
LocalTransport targetTransport,
String action,
long requestId,
Version version,
long reservedBytes) |
| Modifier and Type | Method and Description |
|---|---|
String |
action() |
String |
getChannelType() |
String |
getProfileName() |
long |
getRequestId() |
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, long reservedBytes)
public String action()
action in interface TransportChannelpublic String getProfileName()
getProfileName in interface TransportChannelpublic void sendResponse(TransportResponse response) throws IOException
sendResponse in interface TransportChannelIOExceptionpublic void sendResponse(TransportResponse response, TransportResponseOptions options) throws IOException
sendResponse in interface TransportChannelIOExceptionpublic void sendResponse(Throwable error) throws IOException
sendResponse in interface TransportChannelIOExceptionpublic long getRequestId()
getRequestId in interface TransportChannelpublic String getChannelType()
getChannelType in interface TransportChannelCopyright © 2009–2017. All rights reserved.