Habari STOMP Client for OpenMQ 9.0
Object Pascal STOMP client library for OpenMQ
Loading...
Searching...
No Matches
TBTAbstractConnection Class Reference
Inheritance diagram for TBTAbstractConnection:
TBTConnection

Public Member Functions

 TBTAbstractConnection (const TBTAbstractTransport Transport)
 
 Start ()
 Starts (or restarts) a connection's delivery of incoming messages.
 
 Close ()
 Closes the connection.
 

Public Attributes

Boolean Closed
 Returns true if the connection is closed.
 
Boolean Closing
 Returns true if the connection is in the process of being closed.
 
Integer ConnectTimeOut
 Connect time out (in milliseconds)
 
Integer SendTimeOut
 Send time out (in milliseconds).
 
Boolean Started
 Returns True if this connection has been started.
 
TBTAbstractTransport Transport
 The transport.
 

Protected Member Functions

 StartSessions ()
 
 Dispose ()
 
 CheckClosed ()
 Throws an exception if the Connection is already closed.
 
 CheckClosedOrFailed ()
 Throws an exception if the Connection is already closed or the transport has failed.
 

Constructor & Destructor Documentation

◆ TBTAbstractConnection()

TBTAbstractConnection::TBTAbstractConnection ( const TBTAbstractTransport Transport)

Member Function Documentation

◆ CheckClosed()

TBTAbstractConnection::CheckClosed ( )
protected

Throws an exception if the Connection is already closed.

◆ CheckClosedOrFailed()

TBTAbstractConnection::CheckClosedOrFailed ( )
protected

Throws an exception if the Connection is already closed or the transport has failed.

◆ Close()

TBTAbstractConnection::Close ( )

Closes the connection.

Since a provider typically allocates significant resources on behalf of a connection, clients should close these resources when they are not needed.

◆ Dispose()

TBTAbstractConnection::Dispose ( )
protected

◆ Start()

TBTAbstractConnection::Start ( )

Starts (or restarts) a connection's delivery of incoming messages.

A call to start on a connection that has already been started is ignored.

◆ StartSessions()

TBTAbstractConnection::StartSessions ( )
protected

Member Data Documentation

◆ Closed

Boolean TBTAbstractConnection::Closed

Returns true if the connection is closed.

See also
FClosed For reading

◆ Closing

Boolean TBTAbstractConnection::Closing

Returns true if the connection is in the process of being closed.

See also
FClosing For reading

◆ ConnectTimeOut

Integer TBTAbstractConnection::ConnectTimeOut

Connect time out (in milliseconds)

Note
Experimental feature. Implemented in Internet Direct (Indy) only.
See also
FConnectTimeOut For reading
SetConnectTimeOut For writing

◆ SendTimeOut

Integer TBTAbstractConnection::SendTimeOut

Send time out (in milliseconds).

Note
Experimental feature.
See also
FSendTimeOut For reading
FSendTimeOut For writing

◆ Started

Boolean TBTAbstractConnection::Started

Returns True if this connection has been started.

See also
FStarted For reading
FStarted For writing

◆ Transport

TBTAbstractTransport TBTAbstractConnection::Transport

The transport.

See also
FTransport For reading