trait
Hub extends AnyRef
Abstract Value Members
-
abstract
def
allocateClientId(name: String): Long
-
abstract
def
allocateServerId(name: String): Long
-
abstract
def
authServerConnected: Future[Unit]
-
abstract
def
close(id: Long): Unit
-
abstract
def
connectClient(id: Long, name: String, handler: ClientActor): Unit
-
abstract
def
connectServer(id: Long, name: String, handler: ServerActor): Unit
-
abstract
def
disconnect(id: Long): Unit
-
abstract
def
expireAll(id: Long, high: Long)(implicit timeout: Duration): Future[Long]
-
abstract
def
expireContext(id: Long, ctx: Context)(implicit timeout: Duration): Future[Long]
-
abstract
def
expireContext(ctx: Context)(implicit timeout: Duration): Future[Long]
-
abstract
def
getServerId(name: String): Long
-
abstract
def
message(id: Long, packet: Packet): Unit
-
abstract
def
registryConnected: Future[Unit]
-
abstract
def
request(id: Long, packet: Packet)(implicit timeout: Duration): Future[Packet]
-
abstract
def
serverInfo(id: Either[Long, String]): Option[ServerInfo]
-
abstract
def
serversInfo: Seq[ServerInfo]
-
abstract
def
setServerInfo(info: ServerInfo): Unit
-
abstract
def
username(id: Long): String
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any