class ExternalConnectionsManager extends JustifiedCloseable
- Alphabetic
- By Inheritance
- ExternalConnectionsManager
- JustifiedCloseable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ExternalConnectionsManager(server: ServerConnection)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def broadcastPacket(result: PacketUpload, discardedIDs: String*): Unit
Broadcast bytes sequence to every connected clients
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def close(reason: Reason): Unit
- Definition Classes
- ExternalConnectionsManager → JustifiedCloseable
- def close(): Unit
- Definition Classes
- JustifiedCloseable → AutoCloseable
- def countConnections: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def isClosed: Boolean
- Definition Classes
- ExternalConnectionsManager → JustifiedCloseable
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- def isOpen: Boolean
- Definition Classes
- JustifiedCloseable
- Annotations
- @inline()
- def isRegistered(identifier: String): Boolean
- identifier
the identifier to test
- returns
true if any connected Engine have the specified identifier
- def listConnectionSessions: List[ExternalConnectionSession]
- def listIdentifiers: Seq[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- 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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unregister(identifier: String): Option[ServerExternalConnection]
unregisters a ServerExternalConnection
unregisters a ServerExternalConnection
- identifier
the identifier to disconnect
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated