Class/Object

org.sackfix.session

SfSession

Related Docs: object SfSession | package session

Permalink

abstract class SfSession extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SfSession
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SfSession(sessionType: SfSessionType, sessionId: SfSessionId, heartbeatIntervalSecs: Int)

    Permalink

Abstract Value Members

  1. abstract def close: Unit

    Permalink

    Close the persistent store and record the time the session closed.

    Close the persistent store and record the time the session closed. If it is opened tomorrow then sequence numbers reset down to 1

  2. abstract def getExpectedTheirSeqNum: Int

    Permalink

    Deals with close from the previous day and the fact this process was not restarted ie will reset the sequence numbers back to 1

  3. abstract def handleAction(action: SfAction): Unit

    Permalink

    Called back from the state machine when an action should be taken - either a reply message or close the socket etc.

    Called back from the state machine when an action should be taken - either a reply message or close the socket etc.

    action

    The action

  4. abstract def handleMessage(incomingMessage: SfMessage): Unit

    Permalink

    A fix message has arrived.

    A fix message has arrived. Yippee (I guess)

    incomingMessage

    The incoming message

  5. abstract def incrementMySeq: Int

    Permalink
  6. abstract def incrementTheirSeq: Int

    Permalink
  7. abstract def replayMessages(beginSeqNum: Int, endSeqNum: Int): Unit

    Permalink

    Try to retrieve all the fix messages from the store, or if there are gaps then send a gap fill instead.

    Try to retrieve all the fix messages from the store, or if there are gaps then send a gap fill instead. Note that its generally stupid to resent admin messages....up to you if you stick them in your message store or not.

    beginSeqNum

    The first one to send back

    endSeqNum

    The last one to send back

  8. abstract def resetSeqNums: Unit

    Permalink
  9. abstract def sendAMessage(msgBody: SfFixMessageBody, correlationId: String): Unit

    Permalink

    Creates the full message which can be sent out.

    Creates the full message which can be sent out. Also store the message in the message store - but NOT admin messages. ANd then send it out

  10. abstract def sendRejectMessage(refSeqNum: Int, incSeqNum: Boolean, reason: SessionRejectReasonField, explanation: TextField): Unit

    Permalink
  11. abstract def setMySeq(resetTo: Int): Int

    Permalink
  12. abstract def setTheirSeq(resetTo: Int): Int

    Permalink

Concrete 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. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. val heartbeatIntervalSecs: Int

    Permalink
  12. val idStr: String

    Permalink
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def isMessageFixSessionMessage(msgType: String): Boolean

    Permalink
  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. val sessionId: SfSessionId

    Permalink
  19. val sessionMessageTypes: HashSet[String]

    Permalink
    Attributes
    protected
  20. val sessionType: SfSessionType

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

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped