Planeshift
|
Class to send a possibly cached file to the client. More...
#include <messages.h>
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. 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 () |
Public Attributes | |
csRef< iDataBuffer > | databuf |
csString | hash |
![]() | |
int | filterNumber |
csRef< MsgEntry > | msg |
bool | valid |
Additional Inherited Members | |
![]() | |
static MsgHandler * | msghandler |
Class to send a possibly cached file to the client.
Definition at line 5978 of file messages.h.
psCachedFileMessage::psCachedFileMessage | ( | uint32_t | client, |
uint8_t | sequence, | ||
const char * | pathname, | ||
iDataBuffer * | contents | ||
) |
psCachedFileMessage::psCachedFileMessage | ( | MsgEntry * | me | ) |
psCachedFileMessage::PSF_DECLARE_MSG_FACTORY | ( | ) |
|
virtual |
Converts the message into human readable string.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
csRef<iDataBuffer> psCachedFileMessage::databuf |
Definition at line 5983 of file messages.h.
csString psCachedFileMessage::hash |
Definition at line 5982 of file messages.h.