server.actors

Usermanager

class Usermanager extends ReplyActor

This actor handles TCP requests from the client. It understands the query, sending it to the Main and giving the client the answer.

Linear Supertypes
ReplyActor, ActorLogging, ClusterAwareActor, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Usermanager
  2. ReplyActor
  3. ActorLogging
  4. ClusterAwareActor
  5. Actor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Usermanager()

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Definition Classes
    Actor

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def aroundPostRestart(reason: Throwable): Unit

    Attributes
    protected[akka]
    Definition Classes
    Actor
  7. def aroundPostStop(): Unit

    Attributes
    protected[akka]
    Definition Classes
    Actor
  8. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Attributes
    protected[akka]
    Definition Classes
    Actor
  9. def aroundPreStart(): Unit

    Attributes
    protected[akka]
    Definition Classes
    Actor
  10. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit

    Attributes
    protected[akka]
    Definition Classes
    Actor
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. val builder: ByteStringBuilder

  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. var clusterListener: ActorRef

    Definition Classes
    ClusterAwareActor
  15. var connected: Boolean

  16. implicit val context: ActorContext

    Definition Classes
    Actor
  17. def currentMethodName(): String

    Return the name of the current running method.

    Return the name of the current running method.

    returns

    The name of the method that call this.

    Definition Classes
    ReplyActor
  18. implicit val ec: ExecutionContextExecutor

    Definition Classes
    ClusterAwareActor
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. def log: LoggingAdapter

    Definition Classes
    ActorLogging
  26. def logAndReply(reply: ReplyMessage, sender: ActorRef = sender): Unit

    Logs the operation represent by the ReplyMessage message and sends the ReplyMessage to the sender.

    Logs the operation represent by the ReplyMessage message and sends the ReplyMessage to the sender.

    reply

    The ReplyMessage message that represent the reply to a request.

    sender

    The sender's reference of the request.

    Definition Classes
    ReplyActor
    See also

    #writeLog(ReplyMessage)

    #reply(ReplyMessage, ActorRef)

  27. var mainActor: ActorRef

  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. def nextAddress: Address

    Returns an address of one node in the cluster.

    Returns an address of one node in the cluster. This method sends a message to the ClusterListener of the same node of this actor so it will stop the thread of this actor while waiting for a response.

    returns

    the address of type akka.actor.Address.

    Definition Classes
    ClusterAwareActor
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. val parser: Parser

  33. def postRestart(reason: Throwable): Unit

    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  34. def postStop(): Unit

    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  35. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  36. def preStart(): Unit

    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  37. def receive: PartialFunction[Any, Unit]

    Processes all incoming messages.

    Processes all incoming messages. It handles Received message buffering incoming packets, parsings it and sending the message to the Main actor.

    Definition Classes
    Usermanager → Actor
    See also

    #replyToClient(String)

    #parseQuery(String)

    Helper

  38. def reply(reply: ReplyMessage, sender: ActorRef = sender): Unit

    Send the ReplyMessage message to the sender.

    Send the ReplyMessage message to the sender.

    reply

    The ReplyMessage message that represent the reply to a request.

    sender

    The sender's reference of the request.

    Definition Classes
    ReplyActor
  39. val replyBuilder: ReplyBuilder

    Definition Classes
    ReplyActor
  40. implicit final val self: ActorRef

    Definition Classes
    Actor
  41. final def sender(): ActorRef

    Definition Classes
    Actor
  42. def supervisorStrategy: SupervisorStrategy

    Definition Classes
    Actor
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  44. var tcpSender: ActorRef

  45. implicit val timeout: Timeout

    Definition Classes
    ClusterAwareActor
  46. def toString(): String

    Definition Classes
    AnyRef → Any
  47. def unhandled(message: Any): Unit

    Definition Classes
    Actor
  48. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def writeLog(reply: ReplyMessage): Unit

    Logs the operation represent by the ReplyMessage using the ReplyBuilder class.

    Logs the operation represent by the ReplyMessage using the ReplyBuilder class.

    reply

    The ReplyMessage message that represent the reply to a request.

    Definition Classes
    ReplyActor
    See also

    ReplyBuilder

Inherited from ReplyActor

Inherited from ActorLogging

Inherited from ClusterAwareActor

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped