Qtopia Home - Classes - Hierachy - Annotated - Functions - Licenses - Reference |
|
Provides socket functionality for phone call handlers. More...
#include <phonesocket.h>
Inherits QObject.
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.
See also Qtopia Phone Classes.
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.
This file is part of the Qtopia platform, copyright © 1995-2005 Trolltech, all rights reserved.
| Copyright © 2005 Trolltech | Trademarks | Qtopia version 2.2.0
|