Documentation ¶
Overview ¶
Package reply represents responses to messages of the messagebus
Index ¶
Constants ¶
View Source
const ( // TypeError is reply with error. TypeError = insolar.ReplyType(iota + 1) // TypeOK is a generic reply for signaling a positive result. TypeOK // TypeNotOK is a generic reply for signaling a negative result. TypeNotOK // TypeCallMethod - two binary fields: data and results. TypeCallMethod // TypeRegisterRequest - request for execution was registered TypeRegisterRequest )
View Source
const ( // ErrDeactivated returned when requested object is deactivated. ErrDeactivated = iota + 1 // ErrStateNotAvailable is returned when requested object is deactivated. ErrStateNotAvailable // ErrHotDataTimeout is returned when no hot data received for a specific jet ErrHotDataTimeout // ErrNoPendingRequests is returned when there are no pending requests on current LME ErrNoPendingRequests // FlowCancelled is returned when a new pulse happened in the process of message execution FlowCancelled )
Variables ¶
This section is empty.
Functions ¶
func Deserialize ¶
Deserialize returns decoded reply.
Types ¶
type CallMethod ¶
CallMethod - the most common reply
func (*CallMethod) Type ¶
func (r *CallMethod) Type() insolar.ReplyType
Type returns type of the reply
type RegisterRequest ¶
func (*RegisterRequest) Type ¶
func (r *RegisterRequest) Type() insolar.ReplyType
Type returns type of the reply
Click to show internal directories.
Click to hide internal directories.