|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
---|---|
TWGSessionSocketImpl |
accept(byte[] handle)
Accept an incoming session - blocks until incoming session request is accepted or an error occurs. |
TWGSessionSocketImpl |
connect(java.lang.String target,
java.lang.String init_str)
Establish a connection to the specified target |
java.lang.String |
getDriverName()
Get descriptive name for this factory |
void |
initialize(java.lang.String init_str)
Initialize the session socket factory and start listening on the server socket for incoming session requests. |
void |
terminate()
Terminate the socket factory |
Method Detail |
public void initialize(java.lang.String init_str) throws TWGInitParmException, java.io.IOException
init_str
- initialization string
TWGInitParmException
- error in initialization parameter
java.io.IOException
- error initializing server socketpublic TWGSessionSocketImpl accept(byte[] handle) throws java.io.IOException
handle
- opaque handle used by implementation
java.io.IOException
- error accepting incoming sessionpublic TWGSessionSocketImpl connect(java.lang.String target, java.lang.String init_str) throws TWGInitParmException, java.io.IOException
target
- target address nameinit_str
- initialization string
TWGInitParmException
- error in initialization parameter
java.io.IOException
- error establishing connectionpublic void terminate() throws java.io.IOException
java.io.IOException
- - if error during terminationpublic java.lang.String getDriverName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |