Planeshift
Public Member Functions | Public Attributes

psCachedFileMessage Class Reference

Class to send a possibly cached file to the client. More...

#include <messages.h>

List of all members.

Public Member Functions

 psCachedFileMessage (uint32_t client, uint8_t sequence, const char *pathname, iDataBuffer *contents)
 psCachedFileMessage (MsgEntry *me)
 PSF_DECLARE_MSG_FACTORY ()
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Public Attributes

csRef< iDataBuffer > databuf
csString hash

Detailed Description

Class to send a possibly cached file to the client.

Definition at line 5971 of file messages.h.


Constructor & Destructor Documentation

psCachedFileMessage::psCachedFileMessage ( uint32_t  client,
uint8_t  sequence,
const char *  pathname,
iDataBuffer *  contents 
)
psCachedFileMessage::psCachedFileMessage ( MsgEntry me)

Member Function Documentation

psCachedFileMessage::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psCachedFileMessage::ToString ( NetBase::AccessPointers accessPointers) [virtual]

Converts the message into human readable string.

Parameters:
accessPointersA struct to a number of access pointers.
Returns:
Return a human readable string for the message.

Implements psMessageCracker.


Member Data Documentation

csRef<iDataBuffer> psCachedFileMessage::databuf

Definition at line 5976 of file messages.h.

Definition at line 5975 of file messages.h.


The documentation for this class was generated from the following file: