|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.twistedmatrix.util.TCPFactory
A StreamPair factory that uses unencrypted TCP connections.
All methods in this class are thread-safe.
Constructor Summary | |
TCPFactory(java.lang.String host,
int port)
Create a factory that will return connections to a specific server. |
Method Summary | |
StreamPair |
createConnection()
Create a new connection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TCPFactory(java.lang.String host, int port)
host
- the server's hostname.port
- the server's port.Method Detail |
public StreamPair createConnection()
createConnection
in interface StreamPairFactory
com.twistedmatrix.util.StreamPairFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |