interfaces

package
v2.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 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 ContractEngineClientMgr

type ContractEngineClientMgr interface {
	Start() error
	Stop() error
	// contains filtered or unexported methods
}

ContractEngineClientMgr is the contract engine client manager

type Event

type Event struct {
	Id        uint64
	EventType EventType
}

Event is the contract event

type EventType

type EventType int

EventType is the event type

const (
	// EventType_ConnectionStopped is connection stopped event type
	EventType_ConnectionStopped EventType = iota
)

type RuntimeService

type RuntimeService interface {
	RegisterSandboxMsgNotify(
		chainId, txId string,
		respNotify func(
			msg *protogo.DockerVMMessage,
			sendF func(*protogo.DockerVMMessage),
		),
	) error
	DeleteSandboxMsgNotify(chainId, txId string) bool
}

RuntimeService is the runtime service

Jump to

Keyboard shortcuts

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