requestresult

package
v0.9.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestResult

type RequestResult struct {
	SideEffectType     artifacts.RequestResultType // every
	RawResult          []byte                      // every
	RawObjectReference insolar.Reference           // every

	ParentReference insolar.Reference // activate
	ObjectImage     insolar.Reference // amend + activate
	ObjectStateID   insolar.ID        // amend + deactivate
	Memory          []byte            // amend + activate
}

func New

func New(result []byte, objectRef insolar.Reference) *RequestResult

func (*RequestResult) Activate

func (s *RequestResult) Activate() (insolar.Reference, insolar.Reference, []byte)

func (*RequestResult) Amend

func (s *RequestResult) Amend() (insolar.ID, insolar.Reference, []byte)

func (*RequestResult) Deactivate

func (s *RequestResult) Deactivate() insolar.ID

func (*RequestResult) ObjectReference

func (s *RequestResult) ObjectReference() insolar.Reference

func (*RequestResult) Result

func (s *RequestResult) Result() []byte

func (*RequestResult) SetActivate

func (s *RequestResult) SetActivate(parent, image insolar.Reference, memory []byte)

func (*RequestResult) SetAmend

func (s *RequestResult) SetAmend(object artifacts.ObjectDescriptor, memory []byte)

func (*RequestResult) SetDeactivate

func (s *RequestResult) SetDeactivate(object artifacts.ObjectDescriptor)

func (RequestResult) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL