CatapultServer
v0.5.0.1 (Elephant)
|
A node and packet io pair. More...
Public Member Functions | |
NodePacketIoPair () | |
Creates an empty pair. More... | |
NodePacketIoPair (const Node &node, const std::shared_ptr< PacketIo > &pPacketIo) | |
Creates a pair around node and pPacketIo. More... | |
const Node & | node () const |
Gets the node. More... | |
const std::shared_ptr< PacketIo > & | io () const |
Gets the io. More... | |
operator bool () const | |
Returns true if this pair is not empty. More... | |
Private Attributes | |
Node | m_node |
std::shared_ptr< PacketIo > | m_pPacketIo |
A node and packet io pair.
|
inline |
Creates an empty pair.
|
inlineexplicit |
Creates a pair around node and pPacketIo.
|
inline |
Gets the io.
|
inline |
Gets the node.
|
inlineexplicit |
Returns true
if this pair is not empty.
|
private |
|
private |