Location:
wapcli.h
Link against: wapstkcli.lib
RWAPConn
Supported from 6.0
Operations available on connections in all stack layers. It is the base class for the other connection classes, and is a handle to a subsession with the server.
Error codes can be a TReturnCodes value or a
system-wide error code.
|
Defined in RWAPConn:
CancelAll(), Close(), EBadConnection, EBearerError, EBufferTooSmall, ECannotOpenPort, EDelete, EGet, EHead, EMoreData, EOptions, EPortAlreadyBound, EPost, EPut, ETooManyConnections, ETrace, GetBearer(), GetLocalPort(), GetRemoteAddress(), TMethod, TPort, TReturnCodes
Inherited from RSubSessionBase:
CloseSubSession(),
CreateSubSession(),
Send(),
SendReceive(),
SubSessionHandle(),
operator=()
TInt Close();
Closes a connection. Closing:
releases resources associated with the sub-session
disconnects any connections made in the sub-session
|
void GetBearer(TBearer& aBearer) const;
Gets the current bearer. This is used when a listening connection connects, to discover the bearer.
|
TInt GetLocalPort(TPort& aPort) const;
Gets the local port of this endpoint.
|
|
void GetRemoteAddress(TDes8& aAddress, TPort& aPort) const;
Gets the address of the server. This is useful when a listening connection has been connected.
|
TMethod
Method types for method invocations.
|
TReturnCodes
Error codes.
|