Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::trx_buffer_factory Struct Reference
Inheritance diagram for sysio::trx_buffer_factory:
Collaboration diagram for sysio::trx_buffer_factory:

Public Member Functions

const send_buffer_typeget_send_buffer (const packed_transaction_ptr &trx)
 caches result for subsequent calls, only provide same packed_transaction_ptr instance for each invocation.
 
- Public Member Functions inherited from sysio::buffer_factory
const send_buffer_typeget_send_buffer (const net_message &m)
 caches result for subsequent calls, only provide same net_message instance for each invocation
 

Additional Inherited Members

- Static Protected Member Functions inherited from sysio::buffer_factory
static send_buffer_type create_send_buffer (const net_message &m)
 
template<typename T >
static send_buffer_type create_send_buffer (uint32_t which, const T &v)
 
- Protected Attributes inherited from sysio::buffer_factory
send_buffer_type send_buffer
 

Detailed Description

Definition at line 1391 of file net_plugin.cpp.

Member Function Documentation

◆ get_send_buffer()

const send_buffer_type & sysio::trx_buffer_factory::get_send_buffer ( const packed_transaction_ptr & trx)
inline

Definition at line 1394 of file net_plugin.cpp.

1394 {
1395 if( !send_buffer ) {
1396 send_buffer = create_send_buffer( trx );
1397 }
1398 return send_buffer;
1399 }
send_buffer_type send_buffer
Here is the caller graph for this function:

The documentation for this struct was generated from the following file: