org.neociclo.odetteftp.service
Class TcpClient
java.lang.Object
org.neociclo.odetteftp.service.Client
org.neociclo.odetteftp.service.TcpClient
public class TcpClient
- extends Client
- Version:
- $Rev: 613 $ $Date: 2010-08-17 19:54:19 -0300 (Tue, 17 Aug 2010) $
- Author:
- Rafael Marins
Constructor Summary |
TcpClient(InetSocketAddress remoteAddress,
OftpletFactory oftpletFactory)
|
TcpClient(InetSocketAddress remoteAddress,
SSLEngine sslEngine,
OftpletFactory oftpletFactory)
|
TcpClient(String host,
int port,
OftpletFactory oftpletFactory)
|
TcpClient(String host,
int port,
SSLEngine sslEngine,
OftpletFactory oftpletFactory)
|
TcpClient(String host,
OftpletFactory oftpletFactory)
|
TcpClient(String host,
SSLEngine sslEngine,
OftpletFactory oftpletFactory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpClient
public TcpClient(String host,
OftpletFactory oftpletFactory)
TcpClient
public TcpClient(String host,
SSLEngine sslEngine,
OftpletFactory oftpletFactory)
TcpClient
public TcpClient(String host,
int port,
OftpletFactory oftpletFactory)
TcpClient
public TcpClient(String host,
int port,
SSLEngine sslEngine,
OftpletFactory oftpletFactory)
TcpClient
public TcpClient(InetSocketAddress remoteAddress,
OftpletFactory oftpletFactory)
TcpClient
public TcpClient(InetSocketAddress remoteAddress,
SSLEngine sslEngine,
OftpletFactory oftpletFactory)
createChannelFactory
protected org.jboss.netty.channel.ChannelFactory createChannelFactory()
- Specified by:
createChannelFactory
in class Client
getLocalAddress
protected SocketAddress getLocalAddress()
- Specified by:
getLocalAddress
in class Client
getPipelineFactory
protected org.jboss.netty.channel.ChannelPipelineFactory getPipelineFactory(OftpletFactory oftpletFactory,
org.jboss.netty.util.Timer timer)
- Specified by:
getPipelineFactory
in class Client
getRemoteAddress
protected SocketAddress getRemoteAddress()
- Specified by:
getRemoteAddress
in class Client
getExecutor
public Executor getExecutor()
setExecutor
public void setExecutor(Executor executor)
- The Executor which was specified should be terminated manually by calling
ExecutorUtil.terminate(Executor...)
when your application shuts
down.
- Parameters:
executor
-
releaseExternalResources
protected void releaseExternalResources()
- Overrides:
releaseExternalResources
in class Client
ACCORD