pbinspectorhandler

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package pbinspectorhandler is a generated protocol buffer package.

It is generated from these files:

inspector_message.proto

It has these top-level messages:

InspectorMsgReq_Event_FuncCall
InspectorMsgReq_Event_FuncReturn
InspectorMsgReq_Event_Exit
InspectorMsgReq_Event
InspectorMsgReq_Initiation
InspectorMsgReq_JavaSpecificFields_StackTraceElement
InspectorMsgReq_JavaSpecificFields_Params
InspectorMsgReq_JavaSpecificFields
InspectorMsgReq
InspectorMsgRsp

Index

Constants

This section is empty.

Variables

View Source
var InspectorMsgReq_Event_Type_name = map[int32]string{
	1: "FUNC_CALL",
	2: "FUNC_RETURN",
	3: "EXIT",
}
View Source
var InspectorMsgReq_Event_Type_value = map[string]int32{
	"FUNC_CALL":   1,
	"FUNC_RETURN": 2,
	"EXIT":        3,
}
View Source
var InspectorMsgReq_Type_name = map[int32]string{
	1: "EVENT",
	2: "INITIATION",
}
View Source
var InspectorMsgReq_Type_value = map[string]int32{
	"EVENT":      1,
	"INITIATION": 2,
}
View Source
var InspectorMsgRsp_Result_name = map[int32]string{
	1: "ACK",
	2: "ERROR",
	3: "END",
}
View Source
var InspectorMsgRsp_Result_value = map[string]int32{
	"ACK":   1,
	"ERROR": 2,
	"END":   3,
}

Functions

This section is empty.

Types

type InspectorMsgReq

type InspectorMsgReq struct {
	EntityId              *string                             `protobuf:"bytes,1,req,name=entity_id" json:"entity_id,omitempty"`
	Type                  *InspectorMsgReq_Type               `protobuf:"varint,2,req,name=type,enum=pbinspectorhandler.InspectorMsgReq_Type" json:"type,omitempty"`
	Pid                   *int32                              `protobuf:"varint,3,req,name=pid" json:"pid,omitempty"`
	Tid                   *int32                              `protobuf:"varint,4,req,name=tid" json:"tid,omitempty"`
	MsgId                 *int32                              `protobuf:"varint,5,req,name=msg_id" json:"msg_id,omitempty"`
	GaMsgId               *int32                              `protobuf:"varint,6,opt,name=ga_msg_id" json:"ga_msg_id,omitempty"`
	Event                 *InspectorMsgReq_Event              `protobuf:"bytes,7,opt,name=Event" json:"Event,omitempty"`
	Initiation            *InspectorMsgReq_Initiation         `protobuf:"bytes,8,opt,name=Initiation" json:"Initiation,omitempty"`
	HasJavaSpecificFields *int32                              `protobuf:"varint,9,req,name=HasJavaSpecificFields" json:"HasJavaSpecificFields,omitempty"`
	JavaSpecificFields    *InspectorMsgReq_JavaSpecificFields `protobuf:"bytes,10,opt,name=JavaSpecificFields" json:"JavaSpecificFields,omitempty"`
	XXX_unrecognized      []byte                              `json:"-"`
}

func (*InspectorMsgReq) GetEntityId

func (m *InspectorMsgReq) GetEntityId() string

func (*InspectorMsgReq) GetEvent

func (m *InspectorMsgReq) GetEvent() *InspectorMsgReq_Event

func (*InspectorMsgReq) GetGaMsgId

func (m *InspectorMsgReq) GetGaMsgId() int32

func (*InspectorMsgReq) GetHasJavaSpecificFields

func (m *InspectorMsgReq) GetHasJavaSpecificFields() int32

func (*InspectorMsgReq) GetInitiation

func (m *InspectorMsgReq) GetInitiation() *InspectorMsgReq_Initiation

func (*InspectorMsgReq) GetJavaSpecificFields

func (m *InspectorMsgReq) GetJavaSpecificFields() *InspectorMsgReq_JavaSpecificFields

func (*InspectorMsgReq) GetMsgId

func (m *InspectorMsgReq) GetMsgId() int32

func (*InspectorMsgReq) GetPid

func (m *InspectorMsgReq) GetPid() int32

func (*InspectorMsgReq) GetTid

func (m *InspectorMsgReq) GetTid() int32

func (*InspectorMsgReq) GetType

func (*InspectorMsgReq) ProtoMessage

func (*InspectorMsgReq) ProtoMessage()

func (*InspectorMsgReq) Reset

func (m *InspectorMsgReq) Reset()

func (*InspectorMsgReq) String

func (m *InspectorMsgReq) String() string

type InspectorMsgReq_Event

type InspectorMsgReq_Event struct {
	Type             *InspectorMsgReq_Event_Type       `protobuf:"varint,1,req,name=type,enum=pbinspectorhandler.InspectorMsgReq_Event_Type" json:"type,omitempty"`
	FuncCall         *InspectorMsgReq_Event_FuncCall   `protobuf:"bytes,2,opt,name=FuncCall" json:"FuncCall,omitempty"`
	FuncReturn       *InspectorMsgReq_Event_FuncReturn `protobuf:"bytes,3,opt,name=FuncReturn" json:"FuncReturn,omitempty"`
	Exit             *InspectorMsgReq_Event_Exit       `protobuf:"bytes,4,opt,name=Exit" json:"Exit,omitempty"`
	XXX_unrecognized []byte                            `json:"-"`
}

func (*InspectorMsgReq_Event) GetExit

func (*InspectorMsgReq_Event) GetFuncCall

func (*InspectorMsgReq_Event) GetFuncReturn

func (*InspectorMsgReq_Event) GetType

func (*InspectorMsgReq_Event) ProtoMessage

func (*InspectorMsgReq_Event) ProtoMessage()

func (*InspectorMsgReq_Event) Reset

func (m *InspectorMsgReq_Event) Reset()

func (*InspectorMsgReq_Event) String

func (m *InspectorMsgReq_Event) String() string

type InspectorMsgReq_Event_Exit

type InspectorMsgReq_Event_Exit struct {
	ExitCode         *int32 `protobuf:"varint,1,req,name=exitCode" json:"exitCode,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*InspectorMsgReq_Event_Exit) GetExitCode

func (m *InspectorMsgReq_Event_Exit) GetExitCode() int32

func (*InspectorMsgReq_Event_Exit) ProtoMessage

func (*InspectorMsgReq_Event_Exit) ProtoMessage()

func (*InspectorMsgReq_Event_Exit) Reset

func (m *InspectorMsgReq_Event_Exit) Reset()

func (*InspectorMsgReq_Event_Exit) String

func (m *InspectorMsgReq_Event_Exit) String() string

type InspectorMsgReq_Event_FuncCall

type InspectorMsgReq_Event_FuncCall struct {
	Name             *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*InspectorMsgReq_Event_FuncCall) GetName

func (*InspectorMsgReq_Event_FuncCall) ProtoMessage

func (*InspectorMsgReq_Event_FuncCall) ProtoMessage()

func (*InspectorMsgReq_Event_FuncCall) Reset

func (m *InspectorMsgReq_Event_FuncCall) Reset()

func (*InspectorMsgReq_Event_FuncCall) String

type InspectorMsgReq_Event_FuncReturn

type InspectorMsgReq_Event_FuncReturn struct {
	Name             *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*InspectorMsgReq_Event_FuncReturn) GetName

func (*InspectorMsgReq_Event_FuncReturn) ProtoMessage

func (*InspectorMsgReq_Event_FuncReturn) ProtoMessage()

func (*InspectorMsgReq_Event_FuncReturn) Reset

func (*InspectorMsgReq_Event_FuncReturn) String

type InspectorMsgReq_Event_Type

type InspectorMsgReq_Event_Type int32
const (
	InspectorMsgReq_Event_FUNC_CALL   InspectorMsgReq_Event_Type = 1
	InspectorMsgReq_Event_FUNC_RETURN InspectorMsgReq_Event_Type = 2
	InspectorMsgReq_Event_EXIT        InspectorMsgReq_Event_Type = 3
)

func (InspectorMsgReq_Event_Type) Enum

func (InspectorMsgReq_Event_Type) String

func (*InspectorMsgReq_Event_Type) UnmarshalJSON

func (x *InspectorMsgReq_Event_Type) UnmarshalJSON(data []byte) error

type InspectorMsgReq_Initiation

type InspectorMsgReq_Initiation struct {
	EntityId         *string `protobuf:"bytes,1,req,name=entityId" json:"entityId,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*InspectorMsgReq_Initiation) GetEntityId

func (m *InspectorMsgReq_Initiation) GetEntityId() string

func (*InspectorMsgReq_Initiation) ProtoMessage

func (*InspectorMsgReq_Initiation) ProtoMessage()

func (*InspectorMsgReq_Initiation) Reset

func (m *InspectorMsgReq_Initiation) Reset()

func (*InspectorMsgReq_Initiation) String

func (m *InspectorMsgReq_Initiation) String() string

type InspectorMsgReq_JavaSpecificFields

type InspectorMsgReq_JavaSpecificFields struct {
	ThreadName           *string                                                 `protobuf:"bytes,1,req,name=threadName" json:"threadName,omitempty"`
	NrStackTraceElements *int32                                                  `protobuf:"varint,2,req,name=nrStackTraceElements" json:"nrStackTraceElements,omitempty"`
	StackTraceElements   []*InspectorMsgReq_JavaSpecificFields_StackTraceElement `protobuf:"bytes,3,rep,name=stackTraceElements" json:"stackTraceElements,omitempty"`
	NrParams             *int32                                                  `protobuf:"varint,4,req,name=nrParams" json:"nrParams,omitempty"`
	Params               []*InspectorMsgReq_JavaSpecificFields_Params            `protobuf:"bytes,5,rep,name=params" json:"params,omitempty"`
	XXX_unrecognized     []byte                                                  `json:"-"`
}

func (*InspectorMsgReq_JavaSpecificFields) GetNrParams

func (m *InspectorMsgReq_JavaSpecificFields) GetNrParams() int32

func (*InspectorMsgReq_JavaSpecificFields) GetNrStackTraceElements

func (m *InspectorMsgReq_JavaSpecificFields) GetNrStackTraceElements() int32

func (*InspectorMsgReq_JavaSpecificFields) GetParams

func (*InspectorMsgReq_JavaSpecificFields) GetStackTraceElements

func (*InspectorMsgReq_JavaSpecificFields) GetThreadName

func (m *InspectorMsgReq_JavaSpecificFields) GetThreadName() string

func (*InspectorMsgReq_JavaSpecificFields) ProtoMessage

func (*InspectorMsgReq_JavaSpecificFields) ProtoMessage()

func (*InspectorMsgReq_JavaSpecificFields) Reset

func (*InspectorMsgReq_JavaSpecificFields) String

type InspectorMsgReq_JavaSpecificFields_Params

type InspectorMsgReq_JavaSpecificFields_Params struct {
	Name             *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Value            *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*InspectorMsgReq_JavaSpecificFields_Params) GetName

func (*InspectorMsgReq_JavaSpecificFields_Params) GetValue

func (*InspectorMsgReq_JavaSpecificFields_Params) ProtoMessage

func (*InspectorMsgReq_JavaSpecificFields_Params) Reset

func (*InspectorMsgReq_JavaSpecificFields_Params) String

type InspectorMsgReq_JavaSpecificFields_StackTraceElement

type InspectorMsgReq_JavaSpecificFields_StackTraceElement struct {
	FileName         *string `protobuf:"bytes,1,req,name=fileName" json:"fileName,omitempty"`
	ClassName        *string `protobuf:"bytes,2,req,name=className" json:"className,omitempty"`
	MethodName       *string `protobuf:"bytes,3,req,name=methodName" json:"methodName,omitempty"`
	LineNumber       *int32  `protobuf:"varint,4,req,name=lineNumber" json:"lineNumber,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*InspectorMsgReq_JavaSpecificFields_StackTraceElement) GetClassName

func (*InspectorMsgReq_JavaSpecificFields_StackTraceElement) GetFileName

func (*InspectorMsgReq_JavaSpecificFields_StackTraceElement) GetLineNumber

func (*InspectorMsgReq_JavaSpecificFields_StackTraceElement) GetMethodName

func (*InspectorMsgReq_JavaSpecificFields_StackTraceElement) ProtoMessage

func (*InspectorMsgReq_JavaSpecificFields_StackTraceElement) Reset

func (*InspectorMsgReq_JavaSpecificFields_StackTraceElement) String

type InspectorMsgReq_Type

type InspectorMsgReq_Type int32
const (
	InspectorMsgReq_EVENT      InspectorMsgReq_Type = 1
	InspectorMsgReq_INITIATION InspectorMsgReq_Type = 2
)

func (InspectorMsgReq_Type) Enum

func (InspectorMsgReq_Type) String

func (x InspectorMsgReq_Type) String() string

func (*InspectorMsgReq_Type) UnmarshalJSON

func (x *InspectorMsgReq_Type) UnmarshalJSON(data []byte) error

type InspectorMsgRsp

type InspectorMsgRsp struct {
	Res              *InspectorMsgRsp_Result `protobuf:"varint,1,req,name=res,enum=pbinspectorhandler.InspectorMsgRsp_Result" json:"res,omitempty"`
	MsgId            *int32                  `protobuf:"varint,2,opt,name=msg_id" json:"msg_id,omitempty"`
	GaMsgId          *int32                  `protobuf:"varint,3,opt,name=ga_msg_id" json:"ga_msg_id,omitempty"`
	XXX_unrecognized []byte                  `json:"-"`
}

func (*InspectorMsgRsp) GetGaMsgId

func (m *InspectorMsgRsp) GetGaMsgId() int32

func (*InspectorMsgRsp) GetMsgId

func (m *InspectorMsgRsp) GetMsgId() int32

func (*InspectorMsgRsp) GetRes

func (*InspectorMsgRsp) ProtoMessage

func (*InspectorMsgRsp) ProtoMessage()

func (*InspectorMsgRsp) Reset

func (m *InspectorMsgRsp) Reset()

func (*InspectorMsgRsp) String

func (m *InspectorMsgRsp) String() string

type InspectorMsgRsp_Result

type InspectorMsgRsp_Result int32
const (
	InspectorMsgRsp_ACK   InspectorMsgRsp_Result = 1
	InspectorMsgRsp_ERROR InspectorMsgRsp_Result = 2
	InspectorMsgRsp_END   InspectorMsgRsp_Result = 3
)

func (InspectorMsgRsp_Result) Enum

func (InspectorMsgRsp_Result) String

func (x InspectorMsgRsp_Result) String() string

func (*InspectorMsgRsp_Result) UnmarshalJSON

func (x *InspectorMsgRsp_Result) UnmarshalJSON(data []byte) error

type PBInspectorHandler

type PBInspectorHandler struct {
}

func NewPBInspectorHanlder

func NewPBInspectorHanlder(config *Config) *PBInspectorHandler

func (*PBInspectorHandler) StartAccept

func (handler *PBInspectorHandler) StartAccept(readyEntityCh chan *TransitionEntity)

Jump to

Keyboard shortcuts

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