Package

org.sackfix

boostrap

Permalink

package boostrap

Visibility
  1. Public
  2. All

Type Members

  1. trait BusinessCommsHandler extends AnyRef

    Permalink
  2. case class BusinessFixMessage(sessionId: SfSessionId, sfSessionActor: ActorRef, message: SfMessage) extends SfBusinessFixInfo with Product with Serializable

    Permalink

    sessionId

    Holds details of the comp id's and so on

    sfSessionActor

    If you want to send the session a message you use ! BusinessFixMsgOut()

    message

    Has .header, .body and tail

  3. case class BusinessFixMsgOut(msgBody: SfFixMessageBody, correlationId: String) extends Product with Serializable

    Permalink

    The business layer uses this message to send a fix message out to the counterparty.

    The business layer uses this message to send a fix message out to the counterparty. It should be sent as an akka message to the sfSessionActor.

    With SackFix all TCP is ACK'ed, so you will recieve back the BusinessFixMsgOutAck when the message has been sent.

    msgBody

    The message to be sent out

  4. case class BusinessFixMsgOutAck(sessionId: SfSessionId, sfSessionActor: ActorRef, correlationId: String) extends SfBusinessFixInfo with Product with Serializable

    Permalink
  5. case class BusinessRejectMessage(sessionId: SfSessionId, sfSessionActor: ActorRef, message: SfMessage) extends SfBusinessFixInfo with Product with Serializable

    Permalink

    The other side rejected a message - either a session level or a business level message.

    The other side rejected a message - either a session level or a business level message. You should think about what to do - humans should go have a look at the very least, or maybe disconnect and wait for humans?

    sessionId

    Holds details of the comp id's and so on

    sfSessionActor

    If you want to send the session a message you use ! BusinessFixMsgOut()

    message

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

  6. case class BusinessSaysLogoutNow(reason: String) extends Product with Serializable

    Permalink

    You can send this to the session Actor to tell it to close the session

    You can send this to the session Actor to tell it to close the session

    reason

    This will be sent in the logout message to the counterparty, so make it polite!

  7. case class FixSessionClosed(sessionId: SfSessionId) extends SfBusinessFixInfo with Product with Serializable

    Permalink

    You may receive this more than once during close down.

    You may receive this more than once during close down.

    sessionId

    Holds details of the comp id's and so on

  8. case class FixSessionOpen(sessionId: SfSessionId, sfSessionActor: ActorRef) extends SfBusinessFixInfo with Product with Serializable

    Permalink

    sessionId

    Holds details of the comp id's and so on

    sfSessionActor

    If you want to send the session a message you use ! BusinessFixMsgOut()

  9. trait SfBusinessFixInfo extends AnyRef

    Permalink

    Created by Jonathan during 2017.

    Created by Jonathan during 2017.

    When you create the session hub actor you must inject your own businessmessage handler. This is only called when the message has been fully validated and determined not to be a session level message.

    I would suggest that this class has a reference to your business Actor, and forwards teh fix message to the actor. You can look after your own ActorRef and lifecycle.

  10. case class SystemErrorNeedsDevOpsMsg(humanReadableMessageForDevOps: String) extends Product with Serializable

    Permalink

    This will be sent up to your gardian actor if there is a problem.

Value Members

  1. object ConfigUtil

    Permalink

    Created by Jonathan during 2017.

  2. package acceptor

    Permalink
  3. package initiator

    Permalink

Ungrouped