#include <mw/llcpconnorientedtransporter.h>
class MLlcpConnOrientedTransporter : public MLlcpConnection |
Public Member Functions | |
---|---|
virtual | ~MLlcpConnOrientedTransporter() |
pure virtual void | AcceptConnectRequest() |
pure virtual void | Connect(TRequestStatus &) |
pure virtual void | ConnectCancel() |
pure virtual void | DeclineConnectRequest() |
pure virtual void | Disconnect() |
pure virtual TBool | IsConnected() |
pure virtual void | WaitForDisconnection(TRequestStatus &) |
pure virtual void | WaitForDisconnectionCancel() |
Inherited Enumerations | |
---|---|
MLlcpConnection:TLlcpConnectionType |
MLlcpConnOrientedTransporter represent interface class for all connection between local and remote peers.
~MLlcpConnOrientedTransporter | ( | ) | [inline, virtual] |
Empty destructor.
void | AcceptConnectRequest | ( | ) | [pure virtual] |
Accepts incoming connect request. This method should be called when remote peer has sent connect request. Incoming connectt requests are received via MLlcpConnOrientedListener::RemoteConnectRequest interface.
void | Connect | ( | TRequestStatus & | aStatus | ) | [pure virtual] |
Transmits CONNECT-request to the remote peer.
Returns: Return values for aStatus:KErrNone when LLCP connection between local and remote peer has established.KErrInUse when new request is issued before previous is completed.KErrNotSupported when remote peer has lost from the near field.
void | ConnectCancel | ( | ) | [pure virtual] |
Cancels MLlcpConnection::Connect() asynchronous request.
void | DeclineConnectRequest | ( | ) | [pure virtual] |
Declines incoming connect request. This method should be called when remote peer has sent connect request. Incoming connectt requests are received via MLlcpConnOrientedListener::RemoteConnectRequest interface.
void | Disconnect | ( | ) | [pure virtual] |
Disconnects this MLlcpConnOrientedTransporter object from the remote peer.
TBool | IsConnected | ( | ) | [pure virtual] |
Returns Whether this connection is connected or not.
EFalse | If connection isn't connected. |
ETrue | If connection is connected. |
void | WaitForDisconnection | ( | TRequestStatus & | aStatus | ) | [pure virtual] |
Requests MLlcpConnection object to notify disconnection event.
Returns: Return values for aStatus:KErrNone when connection has disconnected from the remote peer.KErrInUse when new request is issued before previous is completed.KErrNotReady when connection is not connected to the remote peer