public class NettyTransportChannel extends Object implements TransportChannel
| Constructor and Description |
|---|
NettyTransportChannel(NettyTransport transport,
TransportServiceAdapter transportServiceAdapter,
String action,
org.jboss.netty.channel.Channel channel,
long requestId,
Version version,
String profileName) |
| Modifier and Type | Method and Description |
|---|---|
String |
action() |
org.jboss.netty.channel.Channel |
getChannel()
Returns the underlying netty channel.
|
String |
getProfileName() |
void |
sendResponse(Throwable error) |
void |
sendResponse(TransportResponse response) |
void |
sendResponse(TransportResponse response,
TransportResponseOptions options) |
public NettyTransportChannel(NettyTransport transport, TransportServiceAdapter transportServiceAdapter, String action, org.jboss.netty.channel.Channel channel, long requestId, Version version, String profileName)
public String getProfileName()
public String action()
action 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 org.jboss.netty.channel.Channel getChannel()
Copyright © 2009–2016. All rights reserved.