#include <messages.h>
 | 
|   | PSF_DECLARE_MSG_FACTORY () | 
|   | 
|   | psWriteBookMessage (int slotID, int containerID) | 
|   | 'Request to Write' message, from client to server.  More...
  | 
|   | 
|   | psWriteBookMessage (int slotID, int containerID, csString &title, csString &content) | 
|   | 'Request to Save' message, from client to server  More...
  | 
|   | 
|   | psWriteBookMessage (uint32_t clientNum, csString &title, csString &content, bool success, int slotID, int containerID) | 
|   | Response from server, if success is false then content is the error message.  More...
  | 
|   | 
|   | psWriteBookMessage (uint32_t clientNum, csString &title, bool success) | 
|   | Response to Save from server to client.  More...
  | 
|   | 
|   | psWriteBookMessage (MsgEntry *me) | 
|   | 
| virtual csString  | ToString (NetBase::AccessPointers *accessPointers) | 
|   | Converts the message into human readable string.  More...
  | 
|   | 
| void  | FireEvent () | 
|   | Publishes the message to the local program.  More...
  | 
|   | 
| virtual csString  | GetMessageTypeName () const =0 | 
|   | Gets the name of the message type.  More...
  | 
|   | 
| void  | Multicast (csArray< PublishDestination > &multi, uint32_t except, float range) | 
|   | Multicasts the message to all current connections.  More...
  | 
|   | 
|   | psMessageCracker () | 
|   | 
| void  | SendMessage () | 
|   | Sends the message to the client/server.  More...
  | 
|   | 
| virtual  | ~psMessageCracker () | 
|   | 
Definition at line 4502 of file messages.h.
 
| Enumerator | 
|---|
| REQUEST  | 
 | 
| RESPONSE  | 
 | 
| SAVE  | 
 | 
| SAVERESPONSE  | 
 | 
Definition at line 4535 of file messages.h.
 
 
      
        
          | psWriteBookMessage::psWriteBookMessage  | 
          ( | 
          int  | 
          slotID,  | 
        
        
           | 
           | 
          int  | 
          containerID  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
'Request to Write' message, from client to server. 
 
 
      
        
          | psWriteBookMessage::psWriteBookMessage  | 
          ( | 
          int  | 
          slotID,  | 
        
        
           | 
           | 
          int  | 
          containerID,  | 
        
        
           | 
           | 
          csString &  | 
          title,  | 
        
        
           | 
           | 
          csString &  | 
          content  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
'Request to Save' message, from client to server 
 
 
      
        
          | psWriteBookMessage::psWriteBookMessage  | 
          ( | 
          uint32_t  | 
          clientNum,  | 
        
        
           | 
           | 
          csString &  | 
          title,  | 
        
        
           | 
           | 
          csString &  | 
          content,  | 
        
        
           | 
           | 
          bool  | 
          success,  | 
        
        
           | 
           | 
          int  | 
          slotID,  | 
        
        
           | 
           | 
          int  | 
          containerID  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Response from server, if success is false then content is the error message. 
 
 
      
        
          | psWriteBookMessage::psWriteBookMessage  | 
          ( | 
          uint32_t  | 
          clientNum,  | 
        
        
           | 
           | 
          csString &  | 
          title,  | 
        
        
           | 
           | 
          bool  | 
          success  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Response to Save from server to client. 
 
 
      
        
          | psWriteBookMessage::psWriteBookMessage  | 
          ( | 
          MsgEntry *  | 
          me | ) | 
           | 
        
      
 
 
      
        
          | psWriteBookMessage::PSF_DECLARE_MSG_FACTORY  | 
          ( | 
           | ) | 
           | 
        
      
 
 
Converts the message into human readable string. 
Used when a message is Logged. Every message should implement a version of this function that print all data that was decoded when the message was initiated from a NetEntry. See psDRMessage::ToString for an example.
- Parameters
 - 
  
    | accessPointers | A struct to a number of access pointers.  | 
  
   
- Returns
 - Return a human readable string for the message. 
 
Implements psMessageCracker.
 
 
      
        
          | int psWriteBookMessage::containerID | 
        
      
 
 
      
        
          | csString psWriteBookMessage::content | 
        
      
 
 
      
        
          | uint8_t psWriteBookMessage::messagetype | 
        
      
 
 
      
        
          | int psWriteBookMessage::slotID | 
        
      
 
 
      
        
          | bool psWriteBookMessage::success | 
        
      
 
 
      
        
          | csString psWriteBookMessage::title | 
        
      
 
 
The documentation for this class was generated from the following file: