org.codehaus.gpars

groovyx.gpars.remote.netty
[Java] Class NettyRemoteConnection

java.lang.Object
  groovyx.gpars.remote.RemoteConnection
      groovyx.gpars.remote.netty.NettyRemoteConnection

public class NettyRemoteConnection
extends RemoteConnection

Connection using Netty

Authors:
Alex Tkachman


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
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

handler

private final NettyHandler handler


writeListener

private final NettyRemoteConnection.MyChannelFutureListener writeListener


 
Constructor Detail

NettyRemoteConnection

public NettyRemoteConnection(NettyTransportProvider provider, NettyHandler netHandler)


 
Method Detail

disconnect

@Override
public void disconnect()


write

@Override
public void write(SerialMsg msg)


 

Copyright © 2008–2010 Václav Pech. All Rights Reserved.