public class ConnState
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnState.ConnTransition
Transitional condition of the connection.
|
static class |
ConnState.ConnType
Enumeration specifying the different types of connection-oriented AX.25 sessions.
|
| Modifier and Type | Method and Description |
|---|---|
ConnState.ConnType |
getConnType()
Get the connection windowing type.
|
AX25Callsign |
getDst()
Get the callsign of the station that received this connection session.
|
java.io.InputStream |
getInputStream()
Get a Java-style InputStream associated with this connection.
|
java.io.OutputStream |
getOutputStream()
Get a Java-style OutputStream for writing to this connection.
|
AX25Callsign |
getSrc()
Get the callsign of the station that originated this connection session.
|
boolean |
isOpen()
Get the current state of this connection.
|
void |
setConnType(ConnState.ConnType connType)
Set the connection windowing type.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
public boolean isOpen()
public ConnState.ConnType getConnType()
public void setConnType(ConnState.ConnType connType)
connType - ConnType enum describing the sliding window modepublic java.io.InputStream getInputStream()
public java.io.OutputStream getOutputStream()
public AX25Callsign getSrc()
public AX25Callsign getDst()
public java.lang.String toString()
toString in class java.lang.Object