|
org.codehaus.gpars | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovyx.gpars.remote.RemoteConnection groovyx.gpars.remote.netty.NettyRemoteConnection
public class NettyRemoteConnection extends RemoteConnection
Connection using Netty
Nested Class Summary | |
---|---|
private static class |
NettyRemoteConnection.MyChannelFutureListener
|
Field Summary | |
---|---|
private NettyHandler |
handler
|
private NettyRemoteConnection.MyChannelFutureListener |
writeListener
|
Fields inherited from class RemoteConnection | |
---|---|
host, localHost |
Constructor Summary | |
NettyRemoteConnection(NettyTransportProvider provider, NettyHandler netHandler)
|
Method Summary | |
---|---|
void
|
disconnect()
|
void
|
write(SerialMsg msg)
|
Methods inherited from class RemoteConnection | |
---|---|
disconnect, getHost, onConnect, onDisconnect, onException, onMessage, setHost, write |
Field Detail |
---|
private final NettyHandler handler
private final NettyRemoteConnection.MyChannelFutureListener writeListener
Constructor Detail |
---|
public NettyRemoteConnection(NettyTransportProvider provider, NettyHandler netHandler)
Method Detail |
---|
@Override public void disconnect()
@Override public void write(SerialMsg msg)
Copyright © 2008–2012 Václav Pech. All Rights Reserved.