Documentation ¶
Index ¶
- type ContractRequester
- func (cr *ContractRequester) CallConstructor(ctx context.Context, base core.Message, async bool, prototype *core.RecordRef, ...) (*core.RecordRef, error)
- func (cr *ContractRequester) CallMethod(ctx context.Context, base core.Message, async bool, ref *core.RecordRef, ...) (core.Reply, error)
- func (cr *ContractRequester) ReceiveResult(ctx context.Context, parcel core.Parcel) (core.Reply, error)
- func (cr *ContractRequester) SendRequest(ctx context.Context, ref *core.RecordRef, method string, argsIn []interface{}) (core.Reply, error)
- func (cr *ContractRequester) Start(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContractRequester ¶
type ContractRequester struct { MessageBus core.MessageBus `inject:""` PulseStorage core.PulseStorage `inject:""` ResultMutex sync.Mutex ResultMap map[uint64]chan *message.ReturnResults Sequence uint64 }
ContractRequester helps to call contracts
func (*ContractRequester) CallConstructor ¶ added in v0.7.5
func (*ContractRequester) CallMethod ¶ added in v0.7.5
func (*ContractRequester) ReceiveResult ¶ added in v0.7.5
Click to show internal directories.
Click to hide internal directories.