public interface ServerConnectionInterface
| Modifier and Type | Method and Description |
|---|---|
ConnectionInterface |
accept()
Wartet auf eine Verbindungsanfrage eines Clients (passive Verbindung).
|
void |
connect(int subAdressNumber)
Erstellt eine Verbindung zur lokalen Adresse mit der Nummer der Subadresse.
|
void |
disconnect()
Schließt die aktuelle Verbindung.
|
ConnectionInterface |
getPlainConnection()
Gibt eine Instanz der Kommunikationsklasse vom Typ
ConnectionInterface des gleichen Protokolls. |
java.lang.String |
getPlainConnectionName()
Liefert den Klassennamen der Kommunikationsklasse vom Typ
ConnectionInterface des gleichen Protokolls. |
void connect(int subAdressNumber)
throws CommunicationError
subAdressNumber - die Nummer der SubadresseCommunicationError - Wenn die Verbindung nicht erfolgreich erzeugt wurde.void disconnect()
ConnectionInterface accept()
null, wenn keine Verbindung erzeugt werden konnte.ConnectionInterface getPlainConnection()
ConnectionInterface des gleichen Protokolls.java.lang.String getPlainConnectionName()
ConnectionInterface des gleichen Protokolls.