public class PassiveConnectTask extends Task
Modifier and Type | Field and Description |
---|---|
protected TransferContext |
context |
protected BasicServerControlChannel |
control |
protected DataChannelFactory |
factory |
protected static org.apache.commons.logging.Log |
logger |
protected ServerSocket |
myServer |
protected SocketBox |
mySocketBox |
protected Session |
session |
protected DataSink |
sink |
protected DataSource |
source |
Constructor and Description |
---|
PassiveConnectTask(ServerSocket myServer,
DataSink sink,
BasicServerControlChannel control,
Session session,
DataChannelFactory factory,
TransferContext context) |
PassiveConnectTask(ServerSocket myServer,
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 ServerSocket myServer
protected SocketBox mySocketBox
protected DataSink sink
protected DataSource source
protected BasicServerControlChannel control
protected Session session
protected DataChannelFactory factory
protected TransferContext context
public PassiveConnectTask(ServerSocket myServer, DataSink sink, BasicServerControlChannel control, Session session, DataChannelFactory factory, TransferContext context)
public PassiveConnectTask(ServerSocket myServer, DataSource source, BasicServerControlChannel control, Session session, DataChannelFactory factory, TransferContext context)
Copyright © 2016. All rights reserved.