Class SessionEvent

  • All Implemented Interfaces:
    java.io.Externalizable , java.io.Serializable , java.lang.Comparable , org.apache.avro.generic.GenericContainer , org.apache.avro.generic.GenericRecord , org.apache.avro.generic.IndexedRecord , org.apache.avro.specific.SpecificRecord

    
    public class SessionEvent
    extends SpecificRecordBase implements SpecificRecord
                        

    Events sent to counterparties as part of a session

    • Constructor Detail

      • SessionEvent

        SessionEvent()
        Default constructor.
      • SessionEvent

        SessionEvent(MessageDirection messageDirection, Instant timestamp, String sessionId, Integer sequenceNum, HoldingIdentity initiatingIdentity, HoldingIdentity initiatedIdentity, Object payload, KeyValuePairList contextSessionProperties)
        All-args constructor.
        Parameters:
        messageDirection - INBOUND for messages originating from a counterparty.
        timestamp - Time ([Instant]) in milliseconds when the session event was created
        sessionId - UUID for the session.
        sequenceNum - Unique id for a message sent to a party.
        initiatingIdentity - Identity of party who started a session.
        initiatedIdentity - Identity of party in the session who was initiated.
        payload - The new value for payload
        contextSessionProperties - A map of context properties received from a counterparty related to this flow session.