|
2008-09-10 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.core.EscObject
org.eclipse.soda.dk.connection.Connection
org.eclipse.soda.dk.connection.StreamConnection
org.eclipse.soda.dk.tcpip.server.connection.TcpipServerConnection
public class TcpipServerConnection
Transmission Control Protocol/Internet Protocol (TCP/IP) Server Connection. The TcpipServerConnection class implements the TcpipServerConnectionService and provides the controls for the connection.
The list of exported services:
TcpipServerConnectionService,
ConnectionService| Field Summary | |
|---|---|
static java.lang.String |
CLASS_NAME
Defines the full class name. |
protected static char[] |
TOSTRING_NAME
Define the tostring name (char[]) constant. |
| Fields inherited from interface org.eclipse.soda.dk.tcpip.server.connection.service.TcpipServerConnectionService |
|---|
CONNECTION_TYPE, DEFAULT_LINGER, DEFAULT_LOCALHOST, DEFAULT_LOCALPORT, DEFAULT_PORT, DEFAULT_QUEUELENGTH, DEFAULT_READSIZE, DEFAULT_TIMEOUT, DEFAULT_WRITESIZE, FACTORY_SERVICE_NAME, LINGER_KEY, LOCALHOST, LOCALHOST_DEFAULT, LOCALHOST_KEY, LOCALPORT, LOCALPORT_DEFAULT, LOCALPORT_KEY, MANAGED_SERVICE_NAME, PORT, PORT_DEFAULT, PORT_KEY, QUEUELENGTH_KEY, READSIZE, READSIZE_DEFAULT, READSIZE_KEY, SERVICE_DESCRIPTION, SERVICE_NAME, TcpipServerConnection, TIMEOUT_KEY, WRITESIZE, WRITESIZE_DEFAULT, WRITESIZE_KEY |
| Constructor Summary | |
|---|---|
TcpipServerConnection(ConfigurationService configuration)
Constructs an instance of this class from the specified configuration parameter. |
|
TcpipServerConnection(java.util.Dictionary properties)
Constructs an instance of this class from the specified properties parameter. |
|
TcpipServerConnection(int port)
Constructs an TcpipServerConnection object using the input parameter(s). |
|
TcpipServerConnection(int port,
int queueLength)
Constructs an TcpipServerConnection object using the input parameter(s). |
|
TcpipServerConnection(int port,
int queueLength,
int timeout)
Constructs an TcpipServerConnection object using the input parameter(s). |
|
TcpipServerConnection(int port,
int queueLength,
int timeout,
int linger)
|
|
| Method Summary | |
|---|---|
void |
close()
Perform the close action method. |
TcpipConnection |
getClient()
Gets the TcpipConnection client property value. |
boolean |
isOpen()
Gets the boolean open property value. |
void |
open()
Open the server connection. |
void |
toStringInfo(java.lang.StringBuffer buffer)
To string info with the specified buffer parameter. |
| Methods inherited from class org.eclipse.soda.dk.connection.StreamConnection |
|---|
flush, getInputStream, getOutputStream, read, read, setInputStream, setOutputStream, write, write |
| Methods inherited from class org.eclipse.soda.dk.connection.Connection |
|---|
attemptRecoveryFromError, exit, finalize, getConfigurationService, getDefaultResource, getErrorSeverity, getLogDetails4, getLogDetails5, getLogLevel, getReadByteCount, getResource, getWriteByteCount, setConfigurationInformation, setConfigurationService, setLogLevel, setOpen, setReadByteCount, setWriteByteCount, updateReadByteCount, updateWriteByteCount |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASS_NAME
protected static final char[] TOSTRING_NAME
| Constructor Detail |
|---|
public TcpipServerConnection(ConfigurationService configuration)
configuration - The configuration (ConfigurationService) parameter.TcpipServerConnection(int),
TcpipServerConnection(int,int),
TcpipServerConnection(int,int,int),
TcpipServerConnection(int,int,int,int),
TcpipServerConnection(Dictionary)public TcpipServerConnection(java.util.Dictionary properties)
properties - The properties (Dictionary) parameter.TcpipServerConnection(int),
TcpipServerConnection(int,int),
TcpipServerConnection(int,int,int),
TcpipServerConnection(int,int,int,int),
TcpipServerConnection(ConfigurationService)public TcpipServerConnection(int port)
TcpipServerConnection object using the input parameter(s). int
port - The port (int) parameter.TcpipServerConnection(int,int),
TcpipServerConnection(int,int,int),
TcpipServerConnection(int,int,int,int),
TcpipServerConnection(Dictionary),
TcpipServerConnection(ConfigurationService)
public TcpipServerConnection(int port,
int queueLength)
TcpipServerConnection object using the input parameter(s). int int
port - The port (int) parameter.queueLength - The queue length (int) parameter.TcpipServerConnection(int),
TcpipServerConnection(int,int,int),
TcpipServerConnection(int,int,int,int),
TcpipServerConnection(Dictionary),
TcpipServerConnection(ConfigurationService)
public TcpipServerConnection(int port,
int queueLength,
int timeout)
TcpipServerConnection object using the input parameter(s). int int int
port - The port (int) parameter.queueLength - The queue length (int) parameter.timeout - The timeout (int) parameter.TcpipServerConnection(int),
TcpipServerConnection(int,int),
TcpipServerConnection(int,int,int,int),
TcpipServerConnection(Dictionary),
TcpipServerConnection(ConfigurationService)
public TcpipServerConnection(int port,
int queueLength,
int timeout,
int linger)
port - The port (int) parameter.queueLength - The queue length (int) parameter.timeout - The timeout (int) parameter.linger - The linger (int) parameter.TcpipServerConnection(int),
TcpipServerConnection(int,int),
TcpipServerConnection(int,int,int),
TcpipServerConnection(Dictionary),
TcpipServerConnection(ConfigurationService)| Method Detail |
|---|
public void close()
throws java.io.IOException
close in interface ConnectionServiceclose in class StreamConnectionjava.io.IOException - IOException.ConnectionService.close()public TcpipConnection getClient()
TcpipConnection client property value.
TcpipConnection) value.public boolean isOpen()
boolean open property value.
isOpen in interface ConnectionServiceisOpen in class Connectionboolean) value.ConnectionService.isOpen()
public void open()
throws java.io.IOException
open in interface ConnectionServiceopen in class Connectionjava.io.IOException - IOException.ConnectionService.open()public void toStringInfo(java.lang.StringBuffer buffer)
toStringInfo in class Connectionbuffer - The buffer (StringBuffer) parameter.
|
2008-09-10 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||