24 #include <co/commands.h>
25 #include <co/dataOStream.h>
31 namespace detail {
class OCommand; }
65 CO_API OCommand(
const OCommand& rhs );
78 CO_API
void sendHeader(
const uint64_t additionalSize );
81 CO_API
static size_t getSize();
85 CO_API
void sendData(
const void* buffer,
const uint64_t size,
86 const bool last )
override;
89 OCommand& operator = (
const OCommand& );
90 detail::OCommand*
const _impl;
92 void _init(
const uint32_t cmd,
const uint32_t type );
96 #endif //CO_OCOMMAND_H
std::vector< ConnectionPtr > Connections
A vector of ConnectionPtr's.
lunchbox::RefPtr< LocalNode > LocalNodePtr
A reference pointer for LocalNode pointers.
virtual CO_API ~OCommand()
Send or dispatch this command during destruction.
A std::ostream-like interface for object serialization.
A Node/LocalNode command.
A class for sending commands with data to local and external nodes.
A class providing command dispatch functionality to networked objects.