com.ascert.comms.x25
Interface X25Factory

All Known Implementing Classes:
X25FactoryImpl

public interface X25Factory

Defines a common factory interface for construction of X25Socket objects. Specific details of how sockets are created will be hidden within the specific drivers which implement this interface.

Since:
1.00
Version:
1.00, 21 May 2003
Author:
Rob Walker

Field Summary
static java.lang.String FACTORY_CLASS_PROPERTY
          System property containing the name of the default driver implementation class to be used by the X25SocketFactory
 
Method Summary
 X25Socket getSocket()
          Creates a new X25Socket object using this factory.
 

Field Detail

FACTORY_CLASS_PROPERTY

public static final java.lang.String FACTORY_CLASS_PROPERTY
System property containing the name of the default driver implementation class to be used by the X25SocketFactory

See Also:
Constant Field Values
Method Detail

getSocket

public X25Socket getSocket()
                    throws java.io.IOException
Creates a new X25Socket object using this factory. Specific details of what kinds of socket object are returned, and how they are created will be encapsulated within each driver's implementation of this factory.

Returns:
a newly created X25Socket object
Throws:
java.io.IOException - if an error occurs creating a new X25Socket