|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.connector.tcpip.model.server.TCPIPServerSocket
public class TCPIPServerSocket
This class represents a java ServerSocket API. It is used to establish the physical tcpip server connetion. For more detailed method description, please refer the corresponding parts of java.net.ServerSocket.
Field Summary | |
---|---|
static java.lang.String |
version
|
Constructor Summary | |
---|---|
TCPIPServerSocket()
Constructor of TCPIPServerSocket |
Method Summary | |
---|---|
void |
close()
Closes the Socket. |
void |
connect(int port)
Creates the ServerSocket object. |
void |
connect(int port,
int backlog)
Creates the ServerSocket object. |
void |
connect(int port,
int backlog,
java.net.InetAddress bindAddr)
Creates the ServerSocket object. |
java.net.ServerSocket |
getServerSocket()
Returns a ServerSocket instance. |
void |
setTCPIPSocketFactory(TCPIPSocketFactory socketFactory)
Sets TCPIPSocketFactory. |
void |
setTCPIPSocketFactoryClassName(java.lang.String socketFactoryClassName)
Sets TCPIPSocketFactoryClassName. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String version
Constructor Detail |
---|
public TCPIPServerSocket()
Method Detail |
---|
public java.net.ServerSocket getServerSocket()
public void close() throws java.io.IOException
java.io.IOException
- on errorpublic void connect(int port) throws java.io.IOException
port
- The port number
java.io.IOException
- on errorpublic void connect(int port, int backlog) throws java.io.IOException
port
- The port numberbacklog
- The the maximum length of the queue
java.io.IOException
- on errorpublic void connect(int port, int backlog, java.net.InetAddress bindAddr) throws java.io.IOException
port
- The port numberbacklog
- The the maximum length of the queuebindAddr
- The local InetAddress the server will bind to
java.io.IOException
- on errorpublic void setTCPIPSocketFactory(TCPIPSocketFactory socketFactory) throws java.io.IOException
socketFactory
- TCPIPSocketFactory instance
java.io.IOException
- on errorpublic void setTCPIPSocketFactoryClassName(java.lang.String socketFactoryClassName) throws java.io.IOException
socketFactoryClassName
- The class name
java.io.IOException
- on error
|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |