#include <RebotDummyServer.h>
Definition at line 24 of file RebotDummyServer.h.
◆ RebotDummySession()
ChimeraTK::RebotDummySession::RebotDummySession |
( |
unsigned int |
protocolVersion, |
|
|
ip::tcp::socket |
socket, |
|
|
std::shared_ptr< DummyBackend > |
regsiterSpace |
|
) |
| |
◆ ~RebotDummySession()
ChimeraTK::RebotDummySession::~RebotDummySession |
( |
| ) |
|
|
virtual |
◆ acceptHandler()
void ChimeraTK::RebotDummySession::acceptHandler |
( |
const boost::system::error_code & |
error | ) |
|
◆ doRead()
void ChimeraTK::RebotDummySession::doRead |
( |
| ) |
|
◆ doWrite()
void ChimeraTK::RebotDummySession::doWrite |
( |
| ) |
|
◆ processReceivedPackage()
void ChimeraTK::RebotDummySession::processReceivedPackage |
( |
std::vector< uint32_t > & |
buffer | ) |
|
◆ readRegisterAndSendData()
void ChimeraTK::RebotDummySession::readRegisterAndSendData |
( |
std::vector< uint32_t > & |
buffer | ) |
|
◆ sendSingleWord()
void ChimeraTK::RebotDummySession::sendSingleWord |
( |
int32_t |
response | ) |
|
◆ start()
void ChimeraTK::RebotDummySession::start |
( |
| ) |
|
◆ write()
void ChimeraTK::RebotDummySession::write |
( |
std::vector< uint32_t > |
data | ) |
|
◆ writeWordToRequestedAddress()
void ChimeraTK::RebotDummySession::writeWordToRequestedAddress |
( |
std::vector< uint32_t > & |
buffer | ) |
|
◆ _currentClientConnection
ip::tcp::socket ChimeraTK::RebotDummySession::_currentClientConnection |
◆ _dataBuffer
std::vector<uint32_t> ChimeraTK::RebotDummySession::_dataBuffer |
◆ _dont_answer
std::atomic<bool> ChimeraTK::RebotDummySession::_dont_answer |
◆ _heartbeatCount
std::atomic<uint32_t> ChimeraTK::RebotDummySession::_heartbeatCount |
◆ _helloCount
std::atomic<uint32_t> ChimeraTK::RebotDummySession::_helloCount |
◆ _protocolImplementor
◆ _protocolVersion
unsigned int ChimeraTK::RebotDummySession::_protocolVersion |
◆ _registerSpace
std::shared_ptr<DummyBackend> ChimeraTK::RebotDummySession::_registerSpace |
◆ _serverPort
unsigned int ChimeraTK::RebotDummySession::_serverPort |
◆ _state
uint32_t ChimeraTK::RebotDummySession::_state |
◆ ACCEPT_NEW_COMMAND
const uint32_t ChimeraTK::RebotDummySession::ACCEPT_NEW_COMMAND = 1 |
|
static |
◆ BUFFER_SIZE_IN_WORDS
const int ChimeraTK::RebotDummySession::BUFFER_SIZE_IN_WORDS = 256 |
|
static |
◆ HELLO
const uint32_t ChimeraTK::RebotDummySession::HELLO = 4 |
|
static |
◆ INSIDE_MULTI_WORD_WRITE
const uint32_t ChimeraTK::RebotDummySession::INSIDE_MULTI_WORD_WRITE = 2 |
|
static |
◆ MULTI_WORD_READ
const uint32_t ChimeraTK::RebotDummySession::MULTI_WORD_READ = 3 |
|
static |
◆ MULTI_WORD_WRITE
const uint32_t ChimeraTK::RebotDummySession::MULTI_WORD_WRITE = 2 |
|
static |
◆ PING
const uint32_t ChimeraTK::RebotDummySession::PING = 5 |
|
static |
◆ PONG
const uint32_t ChimeraTK::RebotDummySession::PONG = 1005 |
|
static |
◆ READ_SUCCESS_INDICATION
const int32_t ChimeraTK::RebotDummySession::READ_SUCCESS_INDICATION = 1000 |
|
static |
◆ REBOT_MAGIC_WORD
const uint32_t ChimeraTK::RebotDummySession::REBOT_MAGIC_WORD = 0x72626f74 |
|
static |
◆ SINGLE_WORD_WRITE
const uint32_t ChimeraTK::RebotDummySession::SINGLE_WORD_WRITE = 1 |
|
static |
◆ TOO_MUCH_DATA_REQUESTED
const int32_t ChimeraTK::RebotDummySession::TOO_MUCH_DATA_REQUESTED = -1010 |
|
static |
◆ UNKNOWN_INSTRUCTION
const int32_t ChimeraTK::RebotDummySession::UNKNOWN_INSTRUCTION = -1040 |
|
static |
◆ WRITE_SUCCESS_INDICATION
const int32_t ChimeraTK::RebotDummySession::WRITE_SUCCESS_INDICATION = 1001 |
|
static |
The documentation for this class was generated from the following files:
- /scratch/dragon/sources/ChimeraTK-DeviceAccess/tests/RebotDummyServer/include/RebotDummyServer.h
- /scratch/dragon/sources/ChimeraTK-DeviceAccess/tests/RebotDummyServer/src/RebotDummyServer.cc