Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
type Dispatcher interface { // Start starts the Dispatcher's routine. Start() error // Stop stops the dispatcher. Stop() // AddToQueue adds a message to the queue for process. AddToQueue(link string, auth *bind.TransactOpts, id string, destID *big.Int, esAddr common.Address, srcID *big.Int, srcAddr common.Address, rawData []byte, signature []byte) }
Dispatcher is the interface to a componenet to dispatch requests from threads.
func NewDispatcherImplV1 ¶
func NewDispatcherImplV1() Dispatcher
NewDispatcherImplV1 creates a new dispatcher.
type DispatcherImplV1 ¶
type DispatcherImplV1 struct {
// contains filtered or unexported fields
}
DispatcherImplV1 implements dispatcher interface.
func (*DispatcherImplV1) AddToQueue ¶
func (d *DispatcherImplV1) AddToQueue(link string, auth *bind.TransactOpts, id string, destID *big.Int, esAddr common.Address, srcID *big.Int, srcAddr common.Address, rawData []byte, signature []byte)
AddToQueue adds a message to the queue for process.
func (*DispatcherImplV1) Start ¶
func (d *DispatcherImplV1) Start() error
Start starts the Dispatcher's routine.
Click to show internal directories.
Click to hide internal directories.