de.bsvrz.kex.tls.osi2osi3.osi2.wancom
Class WanCom

java.lang.Object
  extended by de.bsvrz.kex.tls.osi2osi3.osi2.api.AbstractDataLinkLayer
      extended by de.bsvrz.kex.tls.osi2osi3.osi2.wancom.WanCom
All Implemented Interfaces:
DataLinkLayer
Direct Known Subclasses:
Client, Server

abstract class WanCom
extends AbstractDataLinkLayer

Abstrakte Klasse, welche die für Client und Server identischen Funktionen des WanCom Protokolls enthält.

Author:
Kappich Systemberatung

Nested Class Summary
 
Nested classes/interfaces inherited from class de.bsvrz.kex.tls.osi2osi3.osi2.api.AbstractDataLinkLayer
AbstractDataLinkLayer.Link
 
Constructor Summary
WanCom()
           
 
Method Summary
protected  byte[] createKeepAliveTelegramBytes(int version, int type, InetAddress localAddress)
           
protected  String getDefaultProperty(String name)
           
 int getMaximumDataSize()
          Bestimmt die maximale Anzahl von Nutzdatenbytes in einem OSI-2 Paket (Telegramm).
 
Methods inherited from class de.bsvrz.kex.tls.osi2osi3.osi2.api.AbstractDataLinkLayer
addEventListener, allowConnection, allowConnection, checkConnection, getLocalAddress, getProperty, notifyEvent, notifyEvent, removeEventListener, setLocalAddress, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.bsvrz.kex.tls.osi2osi3.osi2.api.DataLinkLayer
abort, createLink, isStarted, setDavConnection, shutdown, start
 

Constructor Detail

WanCom

public WanCom()
Method Detail

getDefaultProperty

protected String getDefaultProperty(String name)
Specified by:
getDefaultProperty in class AbstractDataLinkLayer

getMaximumDataSize

public int getMaximumDataSize()
Description copied from interface: DataLinkLayer
Bestimmt die maximale Anzahl von Nutzdatenbytes in einem OSI-2 Paket (Telegramm).

Returns:
Maximale Anzahl Nutzdatenbytes.

createKeepAliveTelegramBytes

protected byte[] createKeepAliveTelegramBytes(int version,
                                              int type,
                                              InetAddress localAddress)