![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cXProtocol.h>
Protected Attributes | |
cXProtocolBase & | m_rBase |
My parent. dumb pointer. More... | |
cStreamOutput * | m_pStreamTx |
Where to TX to. More... | |
XPROTO_t | m_bMsgBuilding |
We are in the process of building a message. not called Send_MsgEnd() yet. More... | |
bool | m_bFileSending |
Must call Send_FileNext() until done. More... | |
int | m_iMsgNumTx |
Count the messages we transmit. More... | |
UID_t | m_uidLastTx |
Last UID i sent. Periodically resend this just in case the other side gets out of sync ? More... | |
Friends | |
class | cXProtocolServerTx |
Build message(s) out to a stream. Sent from client or server side. both directions.
|
protected |
|
protectedvirtual |
|
inlineprotected |
|
protected |
State info.
|
inlineprotected |
|
protected |
XPROTO_InvokeN|XPROTO_Request With no args. Server sending a method call to a client side object.
|
protected |
XPROTO_InvokeN|XPROTO_Request Server sending a method call to a client side object.
|
protected |
XPROTO_InvokeN|XPROTO_Request Server sending a method call to a client side object.
|
protected |
XPROTO_InvokeN|XPROTO_Request With no args. Server sending a method call to a client side object.
|
protected |
XPROTO_InvokeN|XPROTO_Request Send the Server/Client a method on some object. Or invoke a method on the other side.
Send the client an error code. or the client sends the server an error in the XPROTO_File case. Whatever the client sent last caused some error. report it to the client.
|
protected |
XPROTO_File Send a file to the server or client. This results in onSet_File() on the cXProtocolRx side.
|
protected |
XPROTO_File Send a file to the server or client. opposite of onSet_File()
|
protected |
XPROTO_File|XPROTO_NextChunk continue sending the file in chunks. Send only when the socket is ready to send. Send only as much as the output channel can hold.
|
protected |
Must be called after Send_MsgHeader
We are about to start sending a message. ASSUME will call Send_MsgEnd()
write a message that applies to a UID. ASSUME will call Send_MsgEnd()
|
protected |
Send the prop/method name alone
|
protected |
XPROTO_PropN
|
protected |
XPROTO_PropN Server sending a prop val to a client side object.
|
protected |
XPROTO_PropN Send the Server/client a prop change on some object. Typically used to create an event on my char.
|
friend |
|
protected |
Must call Send_FileNext() until done.
|
protected |
We are in the process of building a message. not called Send_MsgEnd() yet.
|
protected |
Count the messages we transmit.
|
protected |
Where to TX to.
|
protected |
My parent. dumb pointer.
|
protected |
Last UID i sent. Periodically resend this just in case the other side gets out of sync ?