| com.coldcore.coloradoftp.connection.impl.DataPortListenerSequence
DataPortListenerSequence | public class DataPortListenerSequence extends HashSet (Code) | | Factory-like class to create a sequence of data port listeners.
This class can be used as an imput parameter into data port listener set.
Class contructor takes port numbers and creates a sequence of data port listeners with assigned
port from port 1 to port 2 (inclusive). A very easy way rather than to create every data port
listener individualy.
This class relies on the ObjectFactory to get instances of DataPortListeners, but the ObjectFactory
cannot be used in a constructor. This class overwrites important methods of the HashSet initializing
itself when those will be called (e.g. by DataPortListenerSet).
|
initialized | protected boolean initialized(Code) | | |
port1 | protected int port1(Code) | | |
port2 | protected int port2(Code) | | |
DataPortListenerSequence | public DataPortListenerSequence(int port1, int port2)(Code) | | |
initialize | protected void initialize()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
|
|