Represents client that connects to server
Modifiers | Name | Description |
---|---|---|
private io.netty.bootstrap.Bootstrap |
bootstrap |
|
private io.netty.channel.ChannelFuture |
channelFuture |
|
private io.netty.channel.EventLoopGroup |
workerGroup |
Constructor and description |
---|
NettyClient
(groovyx.gpars.remote.LocalHost localHost, java.lang.String host, int port, ConnectListener connectListener) Creates client that connect to server on specified host and port. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |
Creates client that connect to server on specified host and port.
host
- the host where server listens onport
- the port that server listens onCopyright © 2008–2014 Václav Pech. All Rights Reserved.