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

void MsnSocketBase::setAcceptedPayloadCommands ( QStringList  commandList  )  [virtual, inherited]

Specify which accepted commands carry payload data for this connection.

Within different kinds of connection, server messages can be different or have different meanings; this method ensures that every kind of connection is able to recognize its own payload commands only.

Parameters:
commandList List of 3-letter commands which will be recognized as carrying payload.

Definition at line 158 of file msnsocketbase.cpp.

Referenced by MsnConnection::switchToHttpSocket(), and MsnConnection::switchToTcpSocket().

{
  acceptedPayloadCommands_ = commandList;
}


Generated by  Doxygen 1.6.0   Back to index