22.10. .NET Binding for the C++ Messaging API Class: Session
Language | Syntax |
---|---|
C++ | class Session |
.NET | public ref class Session |
Constructor | |
.NET | Constructed object is returned by Connection.CreateSession |
Copy constructor | |
C++ | Session(const Session&); |
.NET | public Session(Session session); |
Destructor | |
C++ | ~Session(); |
.NET | ~Session(); |
Finalizer | |
C++ | not applicable |
.NET | !Session() |
Copy assignment operator | |
C++ | Session& operator=(const Session&); |
.NET | public Session op_Assign(Session rhs); |
Method: Close | |
C++ | void close(); |
.NET | public void Close(); |
Method: Commit | |
C++ | void commit(); |
.NET | public void Commit(); |
Method: Rollback | |
C++ | void rollback(); |
.NET | public void Rollback(); |
Method: Acknowledge | |
C++ | void acknowledge(bool sync=false); |
C++ | void acknowledge(Message&, bool sync=false); |
.NET | public void Acknowledge(); |
.NET | public void Acknowledge(bool sync); |
.NET | public void Acknowledge(Message __p1); |
.NET | public void Acknowledge(Message __p1, bool __p2); |
Method: Reject | |
C++ | void reject(Message&); |
.NET | public void Reject(Message __p1); |
Method: Release | |
C++ | void release(Message&); |
.NET | public void Release(Message __p1); |
Method: Sync | |
C++ | void sync(bool block=true); |
.NET | public void Sync(); |
.NET | public void Sync(bool block); |
Property: Receivable | |
C++ | uint32_t getReceivable(); |
.NET | public uint Receivable { get; } |
Property: UnsettledAcks | |
C++ | uint32_t getUnsettledAcks(); |
.NET | public uint UnsettledAcks { get; } |
Method: NextReceiver | |
C++ | bool nextReceiver(Receiver&, Duration timeout=Duration::FOREVER); |
.NET | public bool NextReceiver(Receiver rcvr); |
.NET | public bool NextReceiver(Receiver rcvr, Duration timeout); |
Method: NextReceiver | |
C++ | Receiver nextReceiver(Duration timeout=Duration::FOREVER); |
.NET | public Receiver NextReceiver(); |
.NET | public Receiver NextReceiver(Duration timeout); |
Method: CreateSender | |
C++ | Sender createSender(const Address& address); |
.NET | public Sender CreateSender(Address address); |
Method: CreateSender | |
C++ | Sender createSender(const std::string& address); |
.NET | public Sender CreateSender(string address); |
Method: CreateReceiver | |
C++ | Receiver createReceiver(const Address& address); |
.NET | public Receiver CreateReceiver(Address address); |
Method: CreateReceiver | |
C++ | Receiver createReceiver(const std::string& address); |
.NET | public Receiver CreateReceiver(string address); |
Method: GetSender | |
C++ | Sender getSender(const std::string& name) const; |
.NET | public Sender GetSender(string name); |
Method: GetReceiver | |
C++ | Receiver getReceiver(const std::string& name) const; |
.NET | public Receiver GetReceiver(string name); |
Property: Connection | |
C++ | Connection getConnection() const; |
.NET | public Connection Connection { get; } |
Property: HasError | |
C++ | bool hasError(); |
.NET | public bool HasError { get; } |
Method: CheckError | |
C++ | void checkError(); |
.NET | public void CheckError(); |
See Also: