| Home · All Classes · Annotated · Functions |
The QPhoneSocket class provides socket functionality for phone call handlers More...
#include <QPhoneSocket>
Inherits QObject.
The QPhoneSocket class provides socket functionality for phone call handlers
Phone call handlers manage extensions to the Qtopia phone server for providing additional call types (e.g. Voice-Over-IP).
When a phone call handler starts up, it connects to the phone server on the Unix domain socket /tmp/qtopia-N/call-manager and registers itself with the "INIT" command (N is the QWS display identifier).
This class provides a convenient method for phone call handlers to effect communication with the server. When a command message arrives from the phone server, the received() signal is emitted with the command details. The send() methods provide a convenient way to send a response message to the phone server.
Phone call handlers do not need to use this class. They can connect to the Unix domain socket directly with their own mechanism. The handler is then responsible for all data traffic handling, parsing, etc.
Create an object that manages connections to the Qtopia phone server for phone call handlers and attach it to parent.
Destroy a phone socket handling object.
Signal that is emitted when the connection is closed by the peer.
Signal that is emitted when an incoming client socket is detected on a bound server port. This is used internally by the Qtopia Phone Server, and will not be emitted in handler processes.
Signal that is emitted when cmd is received from the peer.
Send cmd to the peer on this connection.
This is an overloaded member function, provided for convenience.
Send cmd to the peer on this connection.
This is an overloaded member function, provided for convenience.
Send cmd and arg1 to the peer on this connection.
This is an overloaded member function, provided for convenience.
Send cmd, arg1, and arg2 to the peer on this connection.
This is an overloaded member function, provided for convenience.
Send cmd, arg1, arg2, and arg3 to the peer on this connection.
| Copyright © 2006 Trolltech | Trademarks | Qtopia 4.1.7 |