Class

org.sackfix.session

SfSessOutEventRouterImpl

Related Doc: package session

Permalink

case class SfSessOutEventRouterImpl(businessComms: BusinessCommsHandler, sfSessionActor: ActorRef, sessionId: SfSessionId, tcpActor: ActorRef, remoteHostDebugStr: String) extends SfSessOutEventRouter with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, SfSessOutEventRouter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SfSessOutEventRouterImpl
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SfSessOutEventRouter
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SfSessOutEventRouterImpl(businessComms: BusinessCommsHandler, sfSessionActor: ActorRef, sessionId: SfSessionId, tcpActor: ActorRef, remoteHostDebugStr: String)

    Permalink

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val businessComms: BusinessCommsHandler

    Permalink
  6. def clone(): AnyRef

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

    Permalink

    Something has happened in the session layer to say lets close the socket now

    Something has happened in the session layer to say lets close the socket now

    Definition Classes
    SfSessOutEventRouterImplSfSessOutEventRouter
  8. def confirmCorrectTcpActor(checkTcpActor: ActorRef): Boolean

    Permalink

    If a client connects to a server, the router is connected and attached to the sessionactor based on the sessionId - ie fielde from the message header.

    If a client connects to a server, the router is connected and attached to the sessionactor based on the sessionId - ie fielde from the message header. If another client then spams in a connection while one is created, then you can have several routers linked to a single SessionActor. So the session actor has to confirm that the router it is working with matches the sender of any tcp events from the SfSocketHandlerActor

    If an actor fails then the actor ref will fail. But I dont mind as if the tcp actor fails the socket is gone anyway.

    returns

    true if it matches

    Definition Classes
    SfSessOutEventRouterImplSfSessOutEventRouter
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def informBusinessLayerSessionIsClosed: Unit

    Permalink

    The session closed

    The session closed

    Definition Classes
    SfSessOutEventRouterImplSfSessOutEventRouter
  13. def informBusinessLayerSessionIsOpen: Unit

    Permalink

    The session opened

    The session opened

    Definition Classes
    SfSessOutEventRouterImplSfSessOutEventRouter
  14. def informBusinessMessageAcked(correlationId: String): Unit

    Permalink
  15. def informBusinessMessageArrived(fixMsg: 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

    fixMsg

    The decoded business message

    Definition Classes
    SfSessOutEventRouterImplSfSessOutEventRouter
  16. def informBusinessRejectArrived(fixMsg: SfMessage): Unit

    Permalink

    Under any normal conditions there should be zero rejects.

    Under any normal conditions there should be zero rejects. So, decide what you want to do...

    fixMsg

    - the body will be a reject ie fixMsg.body match{ case rj:RejectMessage => }

    Definition Classes
    SfSessOutEventRouterImplSfSessOutEventRouter
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def logOutgoingFixMsg(fixMsgStr: String): Unit

    Permalink

    Obviously the logging could go someplace eles, BUT this is so damn handy for testing.

    Obviously the logging could go someplace eles, BUT this is so damn handy for testing. Originally this sent the message, but since I want an Ack I could got get the implicit sender to be assigned, which means the ack never came back

    Definition Classes
    SfSessOutEventRouterImplSfSessOutEventRouter
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. val remoteHostDebugStr: String

    Permalink
  23. val sessionId: SfSessionId

    Permalink
  24. val sfSessionActor: ActorRef

    Permalink
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. val tcpActor: ActorRef

    Permalink
  27. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SfSessOutEventRouter

Inherited from AnyRef

Inherited from Any

Ungrouped