Logo Search packages:      
Sourcecode: kmess version File versions  Download package

InkTransferP2P::InkTransferP2P ( ApplicationList applicationList  ) 

The constructor

Definition at line 30 of file inktransferp2p.cpp.

References Application::APP_MODE_DATACAST, P2PApplication::setDataCastSessionID(), and Application::setMode().

: P2PApplication( applicationList )
{
  // Open the buffer directly.
  // The session is only used to receive data.
  inkBuffer_.open( QIODevice::ReadWrite );

  // Set the role / session mode of this class.
  // Is checked for by the ChatMaster, and P2PApplication base class.
  setMode( Application::APP_MODE_DATACAST );
  setDataCastSessionID( SESSION_ID );
}


Generated by  Doxygen 1.6.0   Back to index