|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dist1.acb.common.transport.ObjectStreamFactory
Object Stream Factory
Constructor Summary | |
protected |
ObjectStreamFactory()
|
Method Summary | |
static ObjectStreamFactory |
getInstance()
Returns instanse of the factory which was provided to setObjectStreamFactory or default instance if setPreprocessFactory was not involved. |
java.io.ObjectInputStream |
in(java.net.Socket socket)
The input stream |
java.io.ObjectOutputStream |
out(java.net.Socket socket)
The output stream |
static void |
setObjectStreamFactory(ObjectStreamFactory factory)
Sets new preprocess factory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ObjectStreamFactory()
Method Detail |
public static ObjectStreamFactory getInstance()
public static void setObjectStreamFactory(ObjectStreamFactory factory)
factory
- The factorypublic java.io.ObjectInputStream in(java.net.Socket socket) throws java.io.IOException
socket
- Connected socket
java.io.IOException
- If an I/O error has occurredpublic java.io.ObjectOutputStream out(java.net.Socket socket) throws java.io.IOException
socket
- Connected socket
java.io.IOException
- If an I/O error has occurred
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |