Object

org.sackfix.codec

SfDecodeTuplesToMsg

Related Doc: package codec

Permalink

object SfDecodeTuplesToMsg

Created by Jonathan during 2016.

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

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. def convertAMessage(msgFlds: Array[(Int, String)], rejectDetails: Option[FixStrDecodeRejectDetails], latencyRecorder: Option[ActorRef] = None): (Option[SfMessage], Option[DecodingFailedData])

    Permalink

    Decodes fix tuples into a strongly typed message.

    Decodes fix tuples into a strongly typed message.

    returns

    (The decoded message, None). OR (None, (Some(header), reason, explanation)) If the decode failed (None, None) means its garbled and should be ignored.

  7. def convertAMessageWithDecoder(msgFlds: Array[(Int, String)], latencyRecorder: Option[ActorRef] = None): (Option[SfMessage], Option[DecodingFailedData])

    Permalink
  8. def decode(fixTuples: Array[(Int, String)], rejectDetails: Option[FixStrDecodeRejectDetails], rejectMessageCallback: (DecodingFailedData) ⇒ Unit, latencyRecorder: Option[ActorRef] = None): Option[SfMessage]

    Permalink

    Decode Fix tuples into a strongly typed message, or failing that, try to get the header at least and return the header (so you can determine session details) together with a reason it could not be decoded and a text explanation

    Decode Fix tuples into a strongly typed message, or failing that, try to get the header at least and return the header (so you can determine session details) together with a reason it could not be decoded and a text explanation

    returns

    the decoded message which you should now process, or None (after calling the failure callback)

  9. def decodeFromStr(fixStr: String, rejectMessageCallback: (DecodingFailedData) ⇒ Unit, latencyRecorder: Option[ActorRef] = None): Option[SfMessage]

    Permalink
  10. def decodeTheMessage(msgFlds: Array[(Int, String)], header: SfMessageHeader, bodyDecoder: SfFixMessageDecoder, latencyRecorder: Option[ActorRef] = None): (Option[SfMessage], Option[DecodingFailedData])

    Permalink

    *

    *

    returns

    Can return None,None, or Some msg, None, or None, Some reject message

  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def extractSessionId(msgFlds: Array[(Int, String)]): Option[SfSessionId]

    Permalink

    find is a bit slow, so only do this if there is no header NOTE I SWAP THE SENDER AND TARGET ID's so the lookup works in the cache.

  14. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def getSeqNum(msgFlds: Array[(Int, String)]): Int

    Permalink

    Only used during error reporting, so always return either the number, or 0

  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  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. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped