Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

QGsm0710MultiplexerServer Class Reference
[QtBaseModule]

The QGsm0710MultiplexerServer class provides a server-side multiplexing implementation based on 3GPP TS 07.10/27.010 More...

    #include <QGsm0710MultiplexerServer>

Inherits QGsm0710Multiplexer.

Public Functions

Signals

  • void closed ( int channel, QSerialIODevice * device )
  • void opened ( int channel, QSerialIODevice * device )
  • void terminated ()

Additional Inherited Members


Detailed Description

The QGsm0710MultiplexerServer class provides a server-side multiplexing implementation based on 3GPP TS 07.10/27.010

This class is used by incoming AT connection managers such as the Modem Emulator to emulate 3GPP TS 07.10/27.010 multiplexing for the remote device that is connecting.

When the remote device opens a channel, the opened() signal is emitted, providing a QSerialIODevice that can be used by the AT connection manager to communicate with the remote device on that channel.

When the remote device closes a channel, the closed() signal is emitted to allow the AT connection manager to clean up the QSerialIODevice for the channel and any other associated channel-specific context information.

When the remote device terminates the 3GPP TS 07.10/27.010 session, closed() signals for all open channels will be emitted, and then the terminated() signal will be emitted.

See also QGsm0710Multiplexer and Modem Emulator.


Member Function Documentation

QGsm0710MultiplexerServer::QGsm0710MultiplexerServer ( QSerialIODevice * device, int frameSize = 31, bool advanced = false, QObject * parent = 0 )

Construct a new GSM 07.10 multiplexer in server mode around device and attach it to parent. The size of frames is frameSize. If advanced is true, then use the Advanced multiplexing option; otherwise use the Basic multiplexing option.

Unlike the base class, QGsm0710Multiplexer, the ownership of device will not pass to this object and it will not be deleted when this object is deleted. It will still exist after destruction. This is because the device will typically return to normal AT command mode after the multiplexer exits.

QGsm0710MultiplexerServer::~QGsm0710MultiplexerServer ()

Destruct this GSM 07.10 server instance.

void QGsm0710MultiplexerServer::closed ( int channel, QSerialIODevice * device )   [signal]

Signal that is emitted when the client closes a GSM 07.10 channel. After this signal is emitted, device will no longer be valid.

See also opened().

void QGsm0710MultiplexerServer::opened ( int channel, QSerialIODevice * device )   [signal]

Signal that is emitted when the client opens a new GSM 07.10 channel. The device object allows access to the raw data and modem control signals on the channel.

See also closed().

void QGsm0710MultiplexerServer::terminated ()   [signal]

Signal that is emitted when the client terminates the GSM 07.10 session and wishes to return to normal command mode.

This signal will be preceded by closed() signals for all channels that were still open when the terminate command was received.

A slot that is connected to this signal should use QObject::deleteLater() to clean up this object.

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt qtextended4.4
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web