# Uses of Interface
org.globus.ftp.dc.SocketBox

Packages that use SocketBox
Package
Description
org.globus.ftp.dc

## Uses of SocketBox in org.globus.ftp.dc

Classes in org.globus.ftp.dc that implement SocketBox
Modifier and Type
Class
Description
`class`
`ManagedSocketBox`
A container for Socket, making it available to pass a null socket reference.
`class`
`SimpleSocketBox`
Fields in org.globus.ftp.dc declared as SocketBox
Modifier and Type
Field
Description
`protected SocketBox`
GridFTPActiveConnectTask.`box`
`protected SocketBox`
ActiveConnectTask.`mySocketBox`
`protected SocketBox`
PassiveConnectTask.`mySocketBox`
`protected SocketBox`
SimpleDataChannel.`socketBox`
`protected SocketBox`
TransferSinkThread.`socketBox`
`protected SocketBox`
TransferSourceThread.`socketBox`
Methods in org.globus.ftp.dc that return SocketBox
Modifier and Type
Method
Description
`SocketBox`
SocketPool.`checkOut()`
checks out the next free socket and returns it, or returns null if there aren't any.
`protected SocketBox`
ActiveConnectTask.`openSocket()`
Override this to implement authentication
`protected SocketBox`
GridFTPPassiveConnectTask.`openSocket()`
`protected SocketBox`
PassiveConnectTask.`openSocket()`
Override this to implement authentication
Methods in org.globus.ftp.dc with parameters of type SocketBox
Modifier and Type
Method
Description
`void`
SocketPool.`add(SocketBox sb)`
add socketBox to the pool.
`void`
SocketPool.`checkIn(SocketBox sb)`
Before calling this method, the socket needs to be first add()ed to the pool and checked out.
`DataChannel`
DataChannelFactory.`getDataChannel(Session state, SocketBox socketBox)`
`DataChannel`
GridFTPDataChannelFactory.`getDataChannel(Session session, SocketBox socketBox)`
`DataChannel`
SimpleDataChannelFactory.`getDataChannel(Session state, SocketBox socketBox)`
`TransferThread`
GridFTPTransferThreadFactory.`getTransferSinkThread(DataChannel dataChannel, SocketBox socketBox, DataSink sink, BasicServerControlChannel localControlChannel, TransferContext context)`
`TransferThread`
SimpleTransferThreadFactory.`getTransferSinkThread(DataChannel dataChannel, SocketBox socketBox, DataSink sink, BasicServerControlChannel localControlChannel, TransferContext context)`
`TransferThread`
TransferThreadFactory.`getTransferSinkThread(DataChannel dataChannel, SocketBox socketBox, DataSink sink, BasicServerControlChannel localControlChannel, TransferContext context)`
`TransferThread`
GridFTPTransferThreadFactory.`getTransferSourceThread(DataChannel dataChannel, SocketBox socketBox, DataSource source, BasicServerControlChannel localControlChannel, TransferContext context)`
`TransferThread`
SimpleTransferThreadFactory.`getTransferSourceThread(DataChannel dataChannel, SocketBox socketBox, DataSource source, BasicServerControlChannel localControlChannel, TransferContext context)`
`TransferThread`
TransferThreadFactory.`getTransferSourceThread(DataChannel dataChannel, SocketBox socketBox, DataSource source, BasicServerControlChannel localControlChannel, TransferContext context)`
`void`
SocketOperator.`operate(SocketBox s)`
`void`
SocketPool.`remove(SocketBox sb)`
remove socketBox from the pool, remove all references to it
Constructors in org.globus.ftp.dc with parameters of type SocketBox
Modifier
Constructor
Description
``
`ActiveStartTransferTask(DataSink sink, BasicServerControlChannel control, SocketBox box, Session session, DataChannelFactory factory, TransferContext context)`
``
`ActiveStartTransferTask(DataSource source, BasicServerControlChannel control, SocketBox box, Session session, DataChannelFactory factory, TransferContext context)`
``
`GridFTPActiveConnectTask(HostPort hostPort, BasicServerControlChannel control, SocketBox box, GridFTPSession gSession)`
``
`GridFTPDataChannel(Session session, SocketBox socketBox)`
``
`GridFTPTransferSinkThread(AbstractDataChannel dataChannel, SocketBox socketBox, DataSink sink, BasicServerControlChannel localControlChannel, EBlockParallelTransferContext context)`
``
`GridFTPTransferSourceThread(AbstractDataChannel dataChannel, SocketBox socketBox, DataSource source, BasicServerControlChannel localControlChannel, EBlockParallelTransferContext context)`
``
`SimpleDataChannel(Session session, SocketBox socketBox)`
``
`TransferSinkThread(AbstractDataChannel dataChannel, SocketBox socketBox, DataSink sink, BasicServerControlChannel localControlChannel, TransferContext context)`
``
`TransferSourceThread(AbstractDataChannel dataChannel, SocketBox socketBox, DataSource source, BasicServerControlChannel localControlChannel, TransferContext context)`