Inheritance diagram for XFcBtHandler:
Public Member Functions | |
virtual XFCIMPORT | ~XFcBtHandler () |
Virtual destructor. | |
XFCIMPORT INT | openServer (XFcAddress &aAddress, INT32 aClientCount) |
Opens handlers server behavior. | |
XFCIMPORT INT | listenConnection (XFcBtClientWin &aClient) |
Creates connection to given client. | |
XFCIMPORT void | cancelListen () |
Cancels listen. | |
XFCIMPORT INT | isServer () |
Determines if handler is a server. | |
virtual XFCIMPORT void | closeService () |
Closes handler service. | |
virtual XFCIMPORT INT | outgoing () |
Sends a packet. | |
virtual XFCIMPORT INT | incoming () |
Receives a packet frame. | |
XFCIMPORT void | setDefaultSpeed (INT aType) |
Sets connection type. | |
virtual XFCIMPORT void | checkActivity () |
Checks client activity. | |
virtual XFCIMPORT void | unknownSender (const XFcAddress *aAddress, XFcObjectPacketBase *aPacket) |
Handles data which sender is not known. | |
Static Public Member Functions | |
XFCIMPORT XFcBtHandler * | create (INT aIsServer, INT32 aSendMtu=XFCNET_SEND_BUFFER_SIZE, INT32 aRecvMtu=XFCNET_RECV_BUFFER_SIZE) |
Static constructor. | |
Protected Member Functions | |
XFCIMPORT | XFcBtHandler () |
Protected constructor. | |
XFCIMPORT INT | init (INT aIsServer, INT32 aSendMtu, INT32 aRecvMtu) |
Initialize XFcBtHandler. | |
Private Attributes | |
XFcObjectPacketBase * | mSendBuffer |
Buffer for sending data. | |
XFcObjectPacketBase * | mRecvBuffer |
Buffer for receiving data. | |
XFcSocket * | mSocket |
Holds server socket. | |
XFcBtAddress * | mAddress |
Holds bt address. | |
INT | mServerStatus |
Holds server status. | |
XFcBtSecurity * | mSecurity |
Holds bt security manager. |
Its responsibility is to be data flow interface for sending/receiving data througth RFCOMM. It works as RFCOMM server to other clients if needed. Its only binding interface and does not own any client connection. It holds sending and receiving buffers where data is copied before sending or accessing (receiving) it.
|
Protected constructor.
|
|
Virtual destructor.
|
|
Cancels listen.
|
|
Checks client activity.
Implements XFcCommunicationHandler. |
|
Closes handler service.
Implements XFcCommunicationHandler. |
|
Static constructor.
|
|
Receives a packet frame.
Implements XFcCommunicationHandler. |
|
Initialize XFcBtHandler.
|
|
Determines if handler is a server.
|
|
Creates connection to given client.
|
|
Opens handlers server behavior.
|
|
Sends a packet.
Implements XFcCommunicationHandler. |
|
Sets connection type.
|
|
Handles data which sender is not known.
Implements XFcCommunicationHandler. |
|
Holds bt address.
|
|
Buffer for receiving data.
|
|
Holds bt security manager.
|
|
Buffer for sending data.
|
|
Holds server status.
|
|
Holds server socket.
|
![]() | ||||
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch |