Packages

c

fr.linkit.server.connection

ExternalConnectionsManager

class ExternalConnectionsManager extends JustifiedCloseable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExternalConnectionsManager
  2. JustifiedCloseable
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ExternalConnectionsManager(server: ServerConnection)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def broadcastPacket(result: PacketUpload, discardedIDs: String*): Unit

    Broadcast bytes sequence to every connected clients

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. def close(reason: Reason): Unit
  8. def close(): Unit
    Definition Classes
    JustifiedCloseable → AutoCloseable
  9. def countConnections: Int
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. def getConnection(identifier: String): ServerExternalConnection

    retrieves a ServerExternalConnection based on the address

    retrieves a ServerExternalConnection based on the address

    identifier

    the identifier linked ServerExternalConnection

    returns

    the found ServerExternalConnection bound with the identifier

    Annotations
    @Nullable()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def isClosed: Boolean
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isNotRegistered(identifier: String): Boolean

    determines if the address is not registered

    determines if the address is not registered

    identifier

    the identifier to test

    returns

    true if the address is not registered, false instead

  18. def isOpen: Boolean
    Definition Classes
    JustifiedCloseable
    Annotations
    @inline()
  19. def isRegistered(identifier: String): Boolean

    identifier

    the identifier to test

    returns

    true if any connected Engine have the specified identifier

  20. def listConnectionSessions: List[ExternalConnectionSession]
  21. def listIdentifiers: Seq[String]
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. def registerConnection(identifier: String, socket: SocketContainer): Unit

    creates and register a connection.

    creates and register a connection.

    identifier

    the connection's identifier

    socket

    the socket to start the connection

    Annotations
    @throws("if the provided identifier is already taken") @throws("if the registered connection count exceeded configuration limit.")
    Exceptions thrown

    ConnectionException if the provided identifier is already taken.

    ServerException if the registered connection count exceeded configuration limit.

  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def unregister(identifier: String): Option[ServerExternalConnection]

    unregisters a ServerExternalConnection

    identifier

    the identifier to disconnect

  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from JustifiedCloseable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped