Class

org.sackfix.session.fixstate

InitiateLogoutProcess

Related Doc: package fixstate

Permalink

case class InitiateLogoutProcess(reason: String, closeSocketAfterSend: Boolean = false, pausePriorToSocketCloseMs: Option[Long] = None) extends SfSessState with Product with Serializable

Created by Jonathan on 01/01/2017.

There are some situations especially during logon where we send logout with a reason and then close the socket. Otherwise you send logout and then wait for a reply logout... or a timeout.

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

Instance Constructors

  1. new InitiateLogoutProcess(reason: String, closeSocketAfterSend: Boolean = false, pausePriorToSocketCloseMs: Option[Long] = None)

    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. val acceptor: Boolean

    Permalink
    Definition Classes
    SfSessState
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val closeSocketAfterSend: Boolean

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    SfSessState
  12. val initiator: Boolean

    Permalink
    Definition Classes
    SfSessState
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val isSessionOpen: Boolean

    Permalink
    Definition Classes
    SfSessState
  15. val isSessionSocketOpen: Boolean

    Permalink
    Definition Classes
    SfSessState
  16. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    SfSessState
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def nextState(fixSession: SfSession): Option[SfSessState]

    Permalink

    Some state fire off a stateTransitionAction and then directly transition to a new state, they have no 'steady wait' condition for handling events like messages and sockets

    Some state fire off a stateTransitionAction and then directly transition to a new state, they have no 'steady wait' condition for handling events like messages and sockets

    Attributes
    protected[org.sackfix.session.fixstate]
    Definition Classes
    InitiateLogoutProcessSfSessState
  19. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  21. val pausePriorToSocketCloseMs: Option[Long]

    Permalink
  22. val reason: String

    Permalink
  23. def receiveControlEvent(fixSession: SfSession, event: SfSessionControlEvent): Option[SfSessState]

    Permalink
    Attributes
    protected[org.sackfix.session.fixstate]
    Definition Classes
    InitiateLogoutProcessSfSessState
  24. def receiveEvent(fixSession: SfSession, ev: SfSessionEvent, actionCallback: (SfAction) ⇒ Unit): SfSessState

    Permalink

    On receipt of an event - a socket connection or a message a series of state transitions can fire off, each may send an action back via the callback, and then transition to anoher state which can again fire an action etc.

    On receipt of an event - a socket connection or a message a series of state transitions can fire off, each may send an action back via the callback, and then transition to anoher state which can again fire an action etc. this continues until no new state transitions occur

    returns

    the eventual new state

    Definition Classes
    SfSessState
  25. def receiveFixMsg(fixSession: SfSession, msgIn: SfMessage, actionCallback: (SfAction) ⇒ Unit): Option[SfSessState]

    Permalink

    During this time handle “new” inbound messages and/or ResendRequest if possible.

    During this time handle “new” inbound messages and/or ResendRequest if possible. Note that some logout/termination conditions (e.g. loss of database/message safe-store) may require immediate termination of the network connection following the initial send of the Logout message. Disconnect the network connection and “shutdown” configuration for this session.

    Attributes
    protected[org.sackfix.session.fixstate]
    Definition Classes
    InitiateLogoutProcessSfSessState
  26. def receiveSocketEvent(sfSession: SfSession, socketEvent: SfSessionSocketEvent): Option[SfSessState]

    Permalink
    Attributes
    protected[org.sackfix.session.fixstate]
    Definition Classes
    SfSessState
  27. val stateName: String

    Permalink
    Definition Classes
    SfSessState
  28. def stateTransitionAction(fixSession: SfSession, ev: SfSessionEvent): List[SfAction]

    Permalink

    Default action on entering a state is to do nothing

    Default action on entering a state is to do nothing

    ev

    The event which entered the previous states handleEvent and which fired off the action

    Attributes
    protected[org.sackfix.session.fixstate]
    Definition Classes
    InitiateLogoutProcessSfSessState
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. val timeoutId: String

    Permalink
  31. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. 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 SfSessState

Inherited from AnyRef

Inherited from Any

Ungrouped