Transport provider using Netty.
Constructor and description |
---|
NettyTransportProvider
() |
Type | Name and description |
---|---|
static NettyClient |
createClient(java.lang.String host, int port, groovyx.gpars.remote.LocalHost localHost, ConnectListener listener) Factory method for creating client instances. |
static NettyServer |
createServer(java.lang.String host, int port, groovyx.gpars.remote.LocalHost localHost) Factory method for creating server instances. |
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() |
Factory method for creating client instances.
host
- the address of host to connectport
- the destination portlocalHost
- the serialization context for connectionlistener
- the action performed on connectFactory method for creating server instances.
localHost
- the serialization context for connectionCopyright © 2008–2014 Václav Pech. All Rights Reserved.