public class ActiveConnectTask extends Task
Modifier and Type | Field and Description |
---|---|
protected TransferContext |
context |
protected BasicServerControlChannel |
control |
protected DataChannelFactory |
factory |
protected HostPort |
hostPort |
protected static org.apache.commons.logging.Log |
logger |
protected SocketBox |
mySocketBox |
protected Session |
session |
protected DataSink |
sink |
protected DataSource |
source |
Constructor and Description |
---|
ActiveConnectTask(HostPort hostPort,
DataSink sink,
BasicServerControlChannel control,
Session session,
DataChannelFactory factory,
TransferContext context) |
ActiveConnectTask(HostPort hostPort,
DataSource source,
BasicServerControlChannel control,
Session session,
DataChannelFactory factory,
TransferContext context) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected SocketBox |
openSocket()
Override this to implement authentication
|
void |
stop() |
setComplete, waitFor
protected static org.apache.commons.logging.Log logger
protected HostPort hostPort
protected SocketBox mySocketBox
protected DataSink sink
protected DataSource source
protected BasicServerControlChannel control
protected Session session
protected DataChannelFactory factory
protected TransferContext context
public ActiveConnectTask(HostPort hostPort, DataSink sink, BasicServerControlChannel control, Session session, DataChannelFactory factory, TransferContext context)
public ActiveConnectTask(HostPort hostPort, DataSource source, BasicServerControlChannel control, Session session, DataChannelFactory factory, TransferContext context)
Copyright © 2016. All rights reserved.