cmlabs::ServiceSpec Class Reference

#include <Specs.h>

Inheritance diagram for cmlabs::ServiceSpec:

Inheritance graph
[legend]
Collaboration diagram for cmlabs::ServiceSpec:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ServiceSpec ()
 ServiceSpec (const JString &xml)
 ServiceSpec (XMLNode *node)
 ~ServiceSpec ()
virtual unsigned long getPayloadSize () const
 Get total size of payload.
Objectclone () 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
ModuleSpecmoduleSpec


Detailed Description

Definition at line 590 of file Specs.h.


Constructor & Destructor Documentation

cmlabs::ServiceSpec::ServiceSpec (  ) 

Definition at line 3705 of file Specs.cpp.

cmlabs::ServiceSpec::ServiceSpec ( const JString xml  ) 

Definition at line 3713 of file Specs.cpp.

cmlabs::ServiceSpec::ServiceSpec ( XMLNode node  ) 

Definition at line 3722 of file Specs.cpp.

cmlabs::ServiceSpec::~ServiceSpec (  ) 

Definition at line 3730 of file Specs.cpp.


Member Function Documentation

unsigned long cmlabs::ServiceSpec::getPayloadSize (  )  const [virtual]

Get total size of payload.

Reimplemented from cmlabs::Object.

Definition at line 3735 of file Specs.cpp.

Object * cmlabs::ServiceSpec::clone (  )  const [virtual]

Implements cmlabs::Object.

Definition at line 3744 of file Specs.cpp.

bool cmlabs::ServiceSpec::fromXML ( const JString xml  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 3761 of file Specs.cpp.

bool cmlabs::ServiceSpec::fromXML ( XMLNode node  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 3773 of file Specs.cpp.

JString cmlabs::ServiceSpec::toXML (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 3818 of file Specs.cpp.

JString cmlabs::ServiceSpec::toHTML (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 3874 of file Specs.cpp.

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.

Definition at line 3885 of file Specs.cpp.

int cmlabs::ServiceSpec::getBinaryChunkCount (  )  [virtual]

Get the number of data chunks.

Reimplemented from cmlabs::Object.

Definition at line 3892 of file Specs.cpp.

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.

Definition at line 3899 of file Specs.cpp.

bool cmlabs::ServiceSpec::fromBinaryBuffer ( int  chunk,
char *  buffer,
long  len 
) [virtual]

Set the data after separate reception.

Reimplemented from cmlabs::Object.

Definition at line 3906 of file Specs.cpp.


Member Data Documentation

Definition at line 618 of file Specs.h.

Definition at line 619 of file Specs.h.

Definition at line 620 of file Specs.h.

Definition at line 621 of file Specs.h.

Definition at line 622 of file Specs.h.

Definition at line 623 of file Specs.h.

Definition at line 624 of file Specs.h.

Definition at line 625 of file Specs.h.

Definition at line 627 of file Specs.h.

Definition at line 630 of file Specs.h.


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

Generated on Tue Jul 7 16:24:00 2009 for CoreLibrary by  doxygen 1.5.6