OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TSerializeReceiver Class Reference

Mix-in class that automatically puts together the block of data sent by TSerializer. More...

#include <owl/serialze.h>

Inheritance diagram for owl::TSerializeReceiver:
owl::TEventHandler

Public Member Functions

 TSerializeReceiver ()
 
virtual void DataReceived (uint32 length, void *data)
 This virtual function will be called whenever the data has been reconstructed.
 
- Public Member Functions inherited from owl::TEventHandler
virtual bool Find (TEventInfo &info, TEqualOperator op=0)
 Searches the list of response table entries looking for a match.
 
TResult Dispatch (TEventInfo &info, TParam1, TParam2=0)
 Takes the message data from TEventInfo's Msg data member and dispatches it to the correct event-handling function.
 
TResult DispatchMsg (TMsgId, uint id, TParam1, TParam2)
 Search for the event given the message and it and dispatch to the event handler if found.
 

Protected Member Functions

TResult BlockReceived (TParam1, TParam2)
 Automatically puts the data blocks back together.
 
- Protected Member Functions inherited from owl::TEventHandler
bool SearchEntries (const TGenericTableEntry *entries, TEventInfo &info, TEqualOperator op)
 Low-level response table search function.
 

Additional Inherited Members

- Public Types inherited from owl::TEventHandler
typedef bool(* TEqualOperator) (const TGenericTableEntry &, const TEventInfo &)
 

Detailed Description

Mix-in class that automatically puts together the block of data sent by TSerializer.

Definition at line 59 of file serialze.h.

Constructor & Destructor Documentation

◆ TSerializeReceiver()

owl::TSerializeReceiver::TSerializeReceiver ( )

Definition at line 75 of file serialze.cpp.

Member Function Documentation

◆ BlockReceived()

TResult owl::TSerializeReceiver::BlockReceived ( TParam1 param1,
TParam2 param2 )
protected

◆ DataReceived()

void owl::TSerializeReceiver::DataReceived ( uint32 length,
void * data )
virtual

This virtual function will be called whenever the data has been reconstructed.

Note
Derived classes should override this function to copy the data because it will be deleted when this function returns.

Definition at line 139 of file serialze.cpp.


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