public class TerminalServerPortManager extends PortManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsRev |
allIDsValid
Constructor and Description |
---|
TerminalServerPortManager(int newPort,
java.lang.String hostname)
Creates the port manager.
|
Modifier and Type | Method and Description |
---|---|
int |
available()
Returns the number of bytes available.
|
void |
close()
Close the socket manager.
|
int |
read(byte[] b,
int off,
int len)
Read the socket.
|
java.lang.String |
toString()
Return the string representation of this object.
|
void |
write(byte[] b)
Writes the array to the socket.
|
addDeviceId, addPortManager, getConnectionManager, getConnectionManagerForId, getId, getLogger, getMessageHandlersForId, getPort, getPortManagerForId, getPortManagers, read, removeDeviceId, removePortManager, removeSessionId, setConnectionManager, setLogger, setPort, write
public static final java.lang.String cvsRev
public TerminalServerPortManager(int newPort, java.lang.String hostname) throws java.io.IOException
java.io.IOException
public int available() throws java.io.IOException
available
in class PortManager
java.io.IOException
public void close() throws java.io.IOException
close
in class PortManager
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class PortManager
java.io.IOException
read
public java.lang.String toString()
toString
in class java.lang.Object
public void write(byte[] b) throws java.io.IOException
write
in class PortManager
java.io.IOException
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.