Class/Object

org.sackfix.session

SfSessionActor

Related Docs: object SfSessionActor | package session

Permalink

class SfSessionActor extends Actor with SfSessionActorOutActions with ActorLogging

Linear Supertypes
ActorLogging, SfSessionActorOutActions, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SfSessionActor
  2. ActorLogging
  3. SfSessionActorOutActions
  4. Actor
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SfSessionActor(sessionType: SfSessionType, messageStoreDetails: Option[SfMessageStore], sessionId: SfSessionId, heartbeatIntervalSecs: Int, heartBeater: ActorRef, latencyRecorder: Option[ActorRef] = None, sessionOpenTodayStore: SessionOpenTodayStore, resetMyNextSeqNumTo: Int = 1, resetTheirNextSeqNumTo: Int = 1)

    Permalink

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addControlTimeout(id: String, durationMs: Long): Unit

    Permalink

    Add a one off event which will fire back into me an SfControlTimeoutFired event

    Add a one off event which will fire back into me an SfControlTimeoutFired event

    Definition Classes
    SfSessionActorSfSessionActorOutActions
  5. def aroundPostRestart(reason: Throwable): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  11. def changeHeartbeatInterval(newDurationSecs: Int): Unit

    Permalink
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def closeAcceptorSocket: Unit

    Permalink

    This is not obvious.

    This is not obvious. Someone, eg the server socket comes to the end of the active time for the session, or perhaps the end of the logout sequence. Anyway, the idea is that we close the sockets, and let the unbind event finally disconnect us.

  14. def closeActorSystem: Unit

    Permalink
  15. def closeSessionSocket: Unit

    Permalink

    This comes from the protocol state machines, say the first message is not a login.

    This comes from the protocol state machines, say the first message is not a login. We close down the socket please, because the other end is broken/toxic etc.

    Definition Classes
    SfSessionActorSfSessionActorOutActions
  16. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  17. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def forwardBusinessMessageFromSocket(msg: SfMessage): Unit

    Permalink

    We received a fix message, validated it, confirmed it was not a session message and so now need to forward it to the business OMS

    We received a fix message, validated it, confirmed it was not a session message and so now need to forward it to the business OMS

    msg

    The decoded business message

    Definition Classes
    SfSessionActorSfSessionActorOutActions
  21. def forwardBusinessSessionIsClosed: Unit

    Permalink
  22. def forwardBusinessSessionIsOpen: Unit

    Permalink
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def handleNewConnectionEstablished(newlyCreatedOutRouter: SfSessOutEventRouter, fixMsg: Option[SfMessage], decodingFailedData: Option[DecodingFailedData]): Unit

    Permalink
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. val heartBeater: ActorRef

    Permalink
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. val latencyRecorder: Option[ActorRef]

    Permalink
  29. def log: LoggingAdapter

    Permalink
    Definition Classes
    ActorLogging
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. def postRestart(reason: Throwable): Unit

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

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

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

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  37. def receive: Receive

    Permalink
    Definition Classes
    SfSessionActor → Actor
  38. val resetMyNextSeqNumTo: Int

    Permalink
  39. val resetTheirNextSeqNumTo: Int

    Permalink
  40. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  41. def sendFixMsgOut(fixMsgStr: String, correlationId: String): Unit

    Permalink

    Imagine we get a fix message in, we pass it to the SfSessionImpl for processing, and it now has to reply - maybe with resend request, logout etc, it calls us synchronously.

    Imagine we get a fix message in, we pass it to the SfSessionImpl for processing, and it now has to reply - maybe with resend request, logout etc, it calls us synchronously. ie no need to ! us a message.

    fixMsgStr

    The full on fix message with correct sequence numbers and so on.

    Definition Classes
    SfSessionActorSfSessionActorOutActions
  42. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  43. val sessionOpenTodayStore: SessionOpenTodayStore

    Permalink
  44. val sessionType: SfSessionType

    Permalink
  45. def supervisorStrategy: SupervisorStrategy

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

    Permalink
    Definition Classes
    AnyRef
  47. def tcpSaysSocketClosed(tcpActor: ActorRef): Unit

    Permalink

    The TCP layer is gone, blown away.

  48. def toString(): String

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

    Permalink
    Definition Classes
    Actor
  50. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ActorLogging

Inherited from SfSessionActorOutActions

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped