#include <Specs.h>
Public Member Functions | |
ServiceSpec () | |
ServiceSpec (const JString &xml) | |
ServiceSpec (XMLNode *node) | |
~ServiceSpec () | |
virtual unsigned long | getPayloadSize () const |
Get total size of payload. | |
Object * | clone () const |
bool | fromXML (const JString &xml) |
bool | fromXML (XMLNode *node) |
JString | toXML () |
JString | toHTML () |
long | getBinarySize (int chunk) |
Get the size of binary data chunk, -1 for all chunks. | |
int | getBinaryChunkCount () |
Get the number of data chunks. | |
long | toBinaryBuffer (int chunk, char *buffer, int maxlen) |
Write binary data to buffer at chunk number 'chunk'. | |
bool | fromBinaryBuffer (int chunk, char *buffer, long len) |
Set the data after separate reception. | |
Public Attributes | |
JString | name |
JString | service |
JString | type |
JString | remote |
int | maxConv |
int | timeout |
double | priority |
JString | provider |
TCPLocation | location |
ModuleSpec * | moduleSpec |
Definition at line 590 of file Specs.h.
unsigned long cmlabs::ServiceSpec::getPayloadSize | ( | ) | const [virtual] |
Object * cmlabs::ServiceSpec::clone | ( | ) | const [virtual] |
bool cmlabs::ServiceSpec::fromXML | ( | const JString & | xml | ) | [virtual] |
bool cmlabs::ServiceSpec::fromXML | ( | XMLNode * | node | ) | [virtual] |
JString cmlabs::ServiceSpec::toXML | ( | ) | [virtual] |
JString cmlabs::ServiceSpec::toHTML | ( | ) | [virtual] |
long cmlabs::ServiceSpec::getBinarySize | ( | int | chunk | ) | [virtual] |
Get the size of binary data chunk, -1 for all chunks.
Get the size of any binary data.
Reimplemented from cmlabs::Object.
int cmlabs::ServiceSpec::getBinaryChunkCount | ( | ) | [virtual] |
long cmlabs::ServiceSpec::toBinaryBuffer | ( | int | chunk, | |
char * | buffer, | |||
int | maxlen | |||
) | [virtual] |
Write binary data to buffer at chunk number 'chunk'.
Get a pointer to the binary data at chunk number 'chunk'.
Reimplemented from cmlabs::Object.
bool cmlabs::ServiceSpec::fromBinaryBuffer | ( | int | chunk, | |
char * | buffer, | |||
long | len | |||
) | [virtual] |