public class TCPPassiveSocket extends Port
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsRev |
static java.lang.String |
PASSIVE_SOCKET
The string used to identify a port.
|
Constructor and Description |
---|
TCPPassiveSocket(java.net.Socket accepted)
Create the socket.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
This will close the socket and the streams.
|
java.net.Socket |
getSocket() |
available, getInputStream, getName, getOutputStream, getPort, getPortPool, hasError, read, read, read, readAndWait, readCurrent, setError, setInputStream, setOutputStream, setPortPool, setThread, write, write, write
public static final java.lang.String cvsRev
public static final java.lang.String PASSIVE_SOCKET
public TCPPassiveSocket(java.net.Socket accepted) throws BadParameterException, java.io.IOException
BadParameterException
java.io.IOException
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.