Class TCP_IP_ServerCommunication

java.lang.Object
de.bsvrz.dav.daf.communication.tcpCommunication.TCP_IP_ServerCommunication
All Implemented Interfaces:
ServerConnectionInterface

public class TCP_IP_ServerCommunication
extends java.lang.Object
implements ServerConnectionInterface
TCP/IP-Implementierung des Interfaces ServerConnectionInterface.
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.net.ServerSocket _socket
    Der Server-Socket des Datenverteilers
  • Constructor Summary

    Constructors
    Constructor Description
    TCP_IP_ServerCommunication()
    Erzeugt eine Instanz dieser Klasse.
  • Method Summary

    Modifier and Type Method 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 getConnectionTo​(java.net.Socket socket)  
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait