rpctypes

package
v0.9.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2019 License: Apache-2.0 Imports: 1 Imported by: 26

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DownCallConstructorReq added in v0.0.5

type DownCallConstructorReq struct {
	Code      insolar.Reference
	Name      string
	Arguments insolar.Arguments
	Context   *insolar.LogicCallContext
}

DownCallConstructorReq is a set of arguments for CallConstructor RPC in the runner

type DownCallConstructorResp added in v0.0.5

type DownCallConstructorResp struct {
	Data []byte
	Ret  insolar.Arguments
}

DownCallConstructorResp is response from CallConstructor RPC in the runner

type DownCallMethodReq added in v0.0.5

type DownCallMethodReq struct {
	Context   *insolar.LogicCallContext
	Code      insolar.Reference
	Data      []byte
	Method    string
	Arguments insolar.Arguments
}

todo it may use foundation.Context DownCallMethodReq is a set of arguments for CallMethod RPC in the runner

type DownCallMethodResp added in v0.0.5

type DownCallMethodResp struct {
	Data []byte
	Ret  insolar.Arguments
}

DownCallMethodResp is response from CallMethod RPC in the runner

type UpBaseReq added in v0.4.0

type UpBaseReq struct {
	Mode            insolar.CallMode
	Callee          insolar.Reference
	CalleePrototype insolar.Reference
	Request         insolar.Reference
}

UpBaseReq is a base type for all insgorund -> logicrunner requests

type UpDeactivateObjectReq added in v0.6.0

type UpDeactivateObjectReq struct {
	UpBaseReq
}

UpDeactivateObjectReq is a set of arguments for DeactivateObject RPC in goplugin

type UpDeactivateObjectResp added in v0.6.0

type UpDeactivateObjectResp struct {
}

UpDeactivateObjectResp is response from DeactivateObject RPC in goplugin

type UpGetCodeReq added in v0.0.6

type UpGetCodeReq struct {
	UpBaseReq
	MType insolar.MachineType
	Code  insolar.Reference
}

UpGetCodeReq is a set of arguments for GetCode RPC in goplugin

type UpGetCodeResp added in v0.0.6

type UpGetCodeResp struct {
	Code []byte
}

UpGetCodeResp is response from GetCode RPC in goplugin

type UpRespIface added in v0.4.0

type UpRespIface interface{}

UpRespIface interface for UpBaseReq descendant responses

type UpRouteReq

type UpRouteReq struct {
	UpBaseReq
	Wait      bool
	Immutable bool
	Saga      bool
	Object    insolar.Reference
	Method    string
	Arguments insolar.Arguments
	Prototype insolar.Reference
}

UpRouteReq is a set of arguments for Send RPC in goplugin

type UpRouteResp

type UpRouteResp struct {
	Result insolar.Arguments
}

UpRouteResp is response from Send RPC in goplugin

type UpSaveAsChildReq added in v0.0.6

type UpSaveAsChildReq struct {
	UpBaseReq
	Parent          insolar.Reference
	Prototype       insolar.Reference
	ConstructorName string
	ArgsSerialized  []byte
}

UpSaveAsChildReq is a set of arguments for SaveAsChild RPC in goplugin

type UpSaveAsChildResp added in v0.0.6

type UpSaveAsChildResp struct {
	Reference *insolar.Reference
	Result    insolar.Arguments
}

UpSaveAsChildResp is a set of arguments for SaveAsChild RPC in goplugin

Jump to

Keyboard shortcuts

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