|
| Gateway (const SessionSettings::LicenseStores &licenseStores, int port, const char *host="127.0.0.1", const Timeout &acceptTimeout=defaultTimeout(), const Timeout &sendReceiveTimeout=defaultTimeout()) |
|
virtual | ~Gateway () |
|
| Gateway (const Gateway &)=delete |
|
Gateway & | operator= (const Gateway &)=delete |
|
| Gateway (Gateway &&) noexcept |
|
Gateway & | operator= (Gateway &&) noexcept |
|
void | swap (Gateway &) noexcept |
|
Gateway & | acceptConnection (const Timeout &acceptTimeout=defaultTimeout()) |
|
bool | tryAcceptConnection (const Timeout &acceptTimeout=defaultTimeout()) |
|
Gateway & | acceptSession (SeqNumber outgoingSequenceNumber=1, UInt64 previousUuid=0, UInt32 previousSeqNo=0) |
|
Terminate507Ptr | waitUntilTerminate (ClientMessageListener *listener=nullptr, ClientSessionMessageListener *sessionMessageListener=nullptr, std::atomic< bool > *stopRequested=nullptr) |
|
Gateway & | sendSequence (UInt32 nextSeqNo, KeepAliveLapsed::Enum keepAliveLapsed=KeepAliveLapsed::NotLapsed, UInt64 uuid=0) |
|
Gateway & | disconnect () |
|
const char * | host () const noexcept |
|
int | port () const noexcept |
|
Gateway & | enableLogger (const std::string &logFileName, unsigned int logLevel=3) |
|
template<typename SbeMessageType , size_t MaxMessageSize, typename MessageInitializer > |
Gateway & | send (iLink3::Messaging::MessageHolder< SbeMessageType, MaxMessageSize, MessageInitializer > &msg) |
|
template<typename SbeMessageType , size_t MaxMessageSize, typename MessageInitializer > |
Gateway & | send (iLink3::Messaging::MessageHolder< SbeMessageType, MaxMessageSize, MessageInitializer > &&msg) |
|
template<typename SbeMessageType , size_t MaxMessageSize, typename MessageInitializer > |
Gateway & | send (iLink3::Messaging::MessageHolder< SbeMessageType, MaxMessageSize, MessageInitializer > &msg, SeqNumber num) |
|
template<typename SbeMessageType , size_t MaxMessageSize, typename MessageInitializer > |
Gateway & | send (iLink3::Messaging::MessageHolder< SbeMessageType, MaxMessageSize, MessageInitializer > &&msg, SeqNumber num) |
|
template<typename SbeMessageType , size_t MaxMessageSize, typename MessageInitializer > |
Gateway & | send (iLink3::Messaging::MessageHolder< SbeMessageType, MaxMessageSize, MessageInitializer > &msg, std::initializer_list< SeqNumber > numbers) |
|
template<typename SbeMessageType , size_t MaxMessageSize, typename MessageInitializer > |
Gateway & | send (iLink3::Messaging::MessageHolder< SbeMessageType, MaxMessageSize, MessageInitializer > &&msg, std::initializer_list< SeqNumber > numbers) |
|
template<typename TMsg > |
MessagePtr< TMsg > | receiveTypedMessage () |
|
Gateway & | run (ClientMessageListener &listener) |
|
Gateway & | run (ClientMessageListener &appMsgListener, ClientSessionMessageListener &sessionMsgListener) |
|
SeqNumber | outSeqNum () const noexcept |
|
Gateway & | outSeqNum (SeqNumber nextOutSeqNum) noexcept |
|
UInt64 | uuid () const noexcept |
|
FTI::Enum | faultToleranceIndicator () const noexcept |
|
Gateway & | faultToleranceIndicator (FTI::Enum value) |
|
Gateway & | tcpNoDelayOption (bool noDelay) |
|
bool | tcpNoDelayOption () const noexcept |
|
int | socketReceiveBufferSize () const |
|
Gateway & | socketReceiveBufferSize (int bufferSize) |
|
int | socketSendBufferSize () const noexcept |
|
Gateway & | socketSendBufferSize (int bufferSize) |
|
|
bool | isConnectionClosed (const Timeout &timeout) const |
|
bool | isConnectionClosed () const |
|
MessageBasePtr | receive () const |
|
MessageBasePtr | tryReceive (const Timeout &timeout=defaultTimeout()) const |
|
Negotiate500Ptr | receiveNegotiate () |
|
Negotiate500Ptr | acceptNegotiate (UInt32 previousSeqNo=0) |
|
Negotiate500Ptr | rejectNegotiate (NegotiationRejectErrorCode::Enum errorCodes=NegotiationRejectErrorCode::Enum(), const std::string &reason=std::string()) |
|
Establish503Ptr | receiveEstablish () |
|
Establish503Ptr | acceptEstablish (UInt32 outgoingSequenceNumber=1, UInt64 previousUuid=0, UInt32 previousSeqNo=0) |
|
Establish503Ptr | rejectEstablish (UInt32 outgoingSequenceNumber=1, EstablishmentRejectErrorCode::Enum errorCodes=EstablishmentRejectErrorCode::Enum(), const std::string &reason=std::string()) |
|
Terminate507Ptr | receiveTerminate () |
|
Terminate507Ptr | acceptTerminate () |
|
Gateway & | sendTerminate (const std::string &reason={}, UInt16 errCode=TerminateErrorCode::Other) |
|
Terminate507Ptr | terminate (const std::string &reason={}, UInt16 errCode=TerminateErrorCode::Other) |
|
NegotiationResponse501Container | createNegotiationResponse (const Negotiate500Ptr &request, UInt32 previousSeqNo) |
|
NegotiationReject502Container | createNegotiationReject (const Negotiate500Ptr &request, NegotiationRejectErrorCode::Enum errorCodes, const std::string &reason) |
|
EstablishmentAck504Container | createEstablishmentAck (const Establish503Ptr &request, UInt32 outgoingSequenceNumber) |
|
EstablishmentReject505Container | createEstablishmentReject (const Establish503Ptr &request, UInt32 outgoingSequenceNumber, EstablishmentRejectErrorCode::Enum errorCodes, const std::string &reason) |
|
Terminate507Container | createTerminate (const Terminate507Ptr &request) |
|
Terminate507Container | createTerminate (const std::string &reason, UInt16 errCode) |
|
Sequence506Container | createSequence (UInt32 nextSeqNo, KeepAliveLapsed::Enum keepAliveLapsed=KeepAliveLapsed::NotLapsed, UInt64 uuid=0) |
|
Gateway & | send (Messaging::SbeMessage, Messaging::SimpleOpenFramingHeader &) |
|
Gateway & | sendData (const void *data, size_t size) |
|
Gateway & | close () |
|
Definition at line 67 of file Gateway.h.