8 #include "dangerous/snmp/exception.hpp"
10 #include "bytestream.hpp"
13 namespace dangerous {
namespace snmp {
20 void registerInput(
int handle, std::shared_ptr<ByteStream> buffer );
21 void registerOutput(
int handle, std::shared_ptr<ByteStream> buffer );
23 void unregisterInput(
int handle );
24 void unregisterOutput(
int handle );
50 std::map< int, std::shared_ptr<ByteStream> > inMap;
51 std::map< int, std::shared_ptr<ByteStream> > outMap;
53 int localSockets[ 2 ];
Definition: iosystem.hpp:15
std::thread thisThread
This is the thread for this instance.
Definition: iosystem.hpp:47
void stop()
This stops the IoSystem thread, if it's running.
bool isStopped
This is whether or not the thread should attempt to stop.
Definition: iosystem.hpp:44
This defines the base exception class for Dangerous SNMP.
Definition: exception.hpp:10
void start()
This starts the the IoSystem as a thread.