|
BAOS SDK
18.2.0
|
#include <GetServerItem.h>
Public Types | |
| typedef ServerItem | Item |
| typedef std::vector< Item > | Items |
Public Types inherited from kdrive::baos::ServiceRunner | |
| enum | { Timeout = ProtocolConstants::Timeout } |
| typedef DataPacket::Buffer | Buffer |
Public Member Functions | |
| GetServerItem (std::shared_ptr< BaosConnector > connector) | |
| virtual | ~GetServerItem () |
| void | rpc (unsigned short offset, unsigned short count, unsigned long timeout=ServiceRunner::Timeout) |
| const Item & | at (int index) const |
| returns a single item More... | |
| const Item & | find (unsigned short id) const |
| returns a single item, matching item id throws an exception if not found More... | |
| const Items & | getItems () const |
| returns all items More... | |
Public Member Functions inherited from kdrive::baos::ServiceRunner | |
| virtual | ~ServiceRunner () |
| unsigned short | getOffset () const |
| unsigned short | getCount () const |
| const Buffer & | getBuffer () const |
Additional Inherited Members | |
Protected Member Functions inherited from kdrive::baos::ServiceRunner | |
| ServiceRunner (std::shared_ptr< BaosConnector > connector) | |
| std::shared_ptr< BaosConnector > | getConnector (bool validate=true) const |
| void | rpc (unsigned char subService, unsigned short offset, unsigned short count, unsigned long timeout) |
| void | setDataResponse (std::shared_ptr< DataResponse > dataResponse) |
| std::shared_ptr< DataResponse > | getDataResponse (bool validate=true) const |
| typedef std::vector<Item> kdrive::baos::GetServerItem::Items |
| GetServerItem::GetServerItem | ( | std::shared_ptr< BaosConnector > | connector | ) |
|
virtual |
| const GetServerItem::Item & GetServerItem::at | ( | int | index | ) | const |
returns a single item
| const GetServerItem::Item & GetServerItem::find | ( | unsigned short | id | ) | const |
returns a single item, matching item id throws an exception if not found
| const GetServerItem::Items & GetServerItem::getItems | ( | ) | const |
returns all items
| void GetServerItem::rpc | ( | unsigned short | offset, |
| unsigned short | count, | ||
| unsigned long | timeout = ServiceRunner::Timeout |
||
| ) |
1.8.11