Click or drag to resize

Session Methods

The Session type exposes the following members.

Methods
 NameDescription
Public methodConnect Establishes the FIX session.
Public methodConnectAsAcceptor Establishes the FIX session as Acceptor.
Public methodConnectAsInitiator(String, Int32, Int32) Establishes the FIX session as Initiator.
Public methodConnectAsInitiator(String, Int32, Int32, FixMessage) Establishes the FIX session as Initiator using the custom Logon message.
Public methodCreateMessage(String) Creates new FixMessage
Public methodCreateMessage(String, FixVersion) Creates new FixMessage
Public methodDisconnect Closes the session.
Public methodDisconnect(Boolean) Closes session.
Public methodDisconnect(String, Boolean) Closes session with the given logout text.
Public methodDisconnectNonGracefully Closes the telecommunication link and switches the session into the NON_GRACEFULLY_TERMINATED state.
Public methodDisconnectSync Closes the session synchronously.
Public methodDisconnectSync(Boolean) Closes session synchronously.
Public methodDisconnectSync(String, Boolean) Synchronously closes session with the given logout text.
Public methodDispose 
Protected methodDispose(Boolean) 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetReceivedMessages 
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInflate(FixMessage, Int32) Sets static session level fields in the message and reserves space for volatile session level fields.
Public methodInflate(FixMessage, Int32, PutMessageOptions) Sets static session level fields in the message and reserves space for volatile session level fields.
Public methodIsDisposed Checks if Session is disposed (whether Dispose() was called or not). If session is disposed then although the object exists all it's component are destroyed. So further working with it may cause failure.
Public methodLocateSentMessage Restores sent message by given message sequence number. If message is not found, method returns .
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodPing Sends the Test Request message.
Public methodPing(String) Sends the Test Request message with the given TestReqID.
Public methodPut(FixMessage) Sends the given message to the remote FIX engine. After method is return, message can be destroyed by user.
Public methodPut(PreparedMessage) Sends the given message to the remote FIX engine. After method is return, message can be destroyed by user.
Public methodPut(FixMessage, PutMessageOptions) Sends the given message to the remote FIX engine. After method is return, message can be destroyed by user.
Public methodResetSeqNum Sends the Logon message with the ResetSeqNumFlag flag that indicates both sides of a FIX session should reset sequence numbers.
Public methodResetSeqNum(SeqNumResetStrategy) Sends the Logon message with the ResetSeqNumFlag flag that indicates both sides of a FIX session should reset sequence numbers.
Public methodToString Returns string representation.
(Overrides ObjectToString)
Top
See Also