Classes

The following classes are available globally.

  • Objects of this class represents a connection with another computer.

    It is intended to be subclassed for connections that are able to receive data. A Connection object has default implementations for the ReceiverProtocol and TransmitterProtocol. A subclass should override the methods it needs.

    Note

    Every connection object is made ready for use with the prepare method. The init is ineffective for that.

    Note

    By default a connection stays open until the peer closes it. This is normally unacceptable for a server!

    See more

    Declaration

    Swift

    open class Connection: ReceiverProtocol, TransmitterProtocol
  • This class implements a TCP/IP server.

    The server has several options with which it can be configured. At a minimum the connectionObjectFactory must be initialized.

    See more

    Declaration

    Swift

    public class TipServer: ServerProtocol