public abstract static class AbstractDataLinkLayer.Link extends java.lang.Object implements DataLinkLayer.Link
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
_linkLock |
protected java.lang.Object |
_linkPropertyLock |
protected LinkState |
_linkState |
protected int |
_remoteAddress |
Constructor and Description |
---|
Link(int remoteAddress) |
Modifier and Type | Method and Description |
---|---|
int |
getRemoteAddress()
Bestimmt die OSI2-Adresse bzw.
|
LinkState |
getState()
Bestimmt den aktuellen Verbindungszustand der Verbindung.
|
protected void |
notifyEvent(DataLinkLayerEvent.Type type,
java.lang.Object data) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
abort, connect, getDataLinkLayer, getProperty, send, setProperties, shutdown
protected final int _remoteAddress
protected final java.lang.Object _linkLock
protected final java.lang.Object _linkPropertyLock
protected LinkState _linkState
public java.lang.String toString()
toString
in class java.lang.Object
public int getRemoteAddress()
DataLinkLayer.Link
getRemoteAddress
in interface DataLinkLayer.Link
public LinkState getState()
DataLinkLayer.Link
getState
in interface DataLinkLayer.Link
protected final void notifyEvent(DataLinkLayerEvent.Type type, java.lang.Object data)