iremotedispatch

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IRemoteDispatch interface identifier 6619a740-8154-43be-a186-0319578e02db
	RemoteDispatchIID = &dcom.IID{Data1: 0x6619a740, Data2: 0x8154, Data3: 0x43be, Data4: []byte{0xa1, 0x86, 0x03, 0x19, 0x57, 0x8e, 0x02, 0xdb}}
	// Syntax UUID
	RemoteDispatchSyntaxUUID = &uuid.UUID{TimeLow: 0x6619a740, TimeMid: 0x8154, TimeHiAndVersion: 0x43be, ClockSeqHiAndReserved: 0xa1, ClockSeqLow: 0x86, Node: [6]uint8{0x3, 0x19, 0x57, 0x8e, 0x2, 0xdb}}
	// Syntax ID
	RemoteDispatchSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: RemoteDispatchSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/ioi"
)

Functions

func NewRemoteDispatchServerHandle

func NewRemoteDispatchServerHandle(o RemoteDispatchServer) dcerpc.ServerHandle

func RegisterRemoteDispatchServer

func RegisterRemoteDispatchServer(conn dcerpc.Conn, o RemoteDispatchServer, opts ...dcerpc.Option)

func RemoteDispatchServerHandle

func RemoteDispatchServerHandle(ctx context.Context, o RemoteDispatchServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)

Types

type RemoteDispatchAutoDoneRequest

type RemoteDispatchAutoDoneRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// s: The s parameter contains binary data representing the input parameters of the
	// method called on the server. The binary data MUST be marshaled as specified in [MS-NRTP]
	// section 3.1.5.1.1. The data is specified as is in the BSTR, such that the length
	// of the BSTR is the size of the data divided by 2 (rounded up if necessary).
	String *oaut.String `idl:"name:s" json:"string"`
}

RemoteDispatchAutoDoneRequest structure represents the RemoteDispatchAutoDone operation request

func (*RemoteDispatchAutoDoneRequest) MarshalNDR

func (*RemoteDispatchAutoDoneRequest) UnmarshalNDR

func (o *RemoteDispatchAutoDoneRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type RemoteDispatchAutoDoneResponse

type RemoteDispatchAutoDoneResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pRetVal: The pRetVal parameter contains the binary data representing the output parameters
	// of the method called on the server. The binary data MUST be marshaled as specified
	// in [MS-NRTP] section 3.1.5.1.1. The data is specified as is in the BSTR, such that
	// the length of the BSTR is the size of the data divided by 2 (rounded up if necessary).
	ReturnValue *oaut.String `idl:"name:pRetVal" json:"return_value"`
	// Return: The RemoteDispatchAutoDone return value.
	Return int32 `idl:"name:Return" json:"return"`
}

RemoteDispatchAutoDoneResponse structure represents the RemoteDispatchAutoDone operation response

func (*RemoteDispatchAutoDoneResponse) MarshalNDR

func (*RemoteDispatchAutoDoneResponse) UnmarshalNDR

type RemoteDispatchClient

type RemoteDispatchClient interface {

	// IDispatch retrieval method.
	Dispatch() idispatch.DispatchClient

	// The RemoteDispatchAutoDone method is called by the client to invoke a method on the
	// server.
	//
	// Return Values: An HRESULT that specifies success or failure. All success HRESULT
	// values MUST be treated as success and all failure HRESULT values MUST be treated
	// as failure.
	RemoteDispatchAutoDone(context.Context, *RemoteDispatchAutoDoneRequest, ...dcerpc.CallOption) (*RemoteDispatchAutoDoneResponse, error)

	// The RemoteDispatchNotAutoDone method is called by the client to invoke a method on
	// the server.
	//
	// Return Values: An HRESULT that specifies success or failure. All success HRESULT
	// values MUST be treated as success and all failure HRESULT values MUST be treated
	// as failure.
	RemoteDispatchNotAutoDone(context.Context, *RemoteDispatchNotAutoDoneRequest, ...dcerpc.CallOption) (*RemoteDispatchNotAutoDoneResponse, error)

	// AlterContext alters the client context.
	AlterContext(context.Context, ...dcerpc.Option) error

	// IPID sets the object interface identifier.
	IPID(context.Context, *dcom.IPID) RemoteDispatchClient
}

IRemoteDispatch interface.

func NewRemoteDispatchClient

func NewRemoteDispatchClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (RemoteDispatchClient, error)

type RemoteDispatchNotAutoDoneRequest

type RemoteDispatchNotAutoDoneRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// s: The s parameter contains binary data representing the input parameters of the
	// method called on the server. The binary data MUST be marshaled as specified in [MS-NRTP]
	// section 3.1.5.1.1. The data is specified as is in the BSTR, such that the length
	// of the BSTR is the size of the data divided by 2 (rounded up if necessary).
	String *oaut.String `idl:"name:s" json:"string"`
}

RemoteDispatchNotAutoDoneRequest structure represents the RemoteDispatchNotAutoDone operation request

func (*RemoteDispatchNotAutoDoneRequest) MarshalNDR

func (*RemoteDispatchNotAutoDoneRequest) UnmarshalNDR

type RemoteDispatchNotAutoDoneResponse

type RemoteDispatchNotAutoDoneResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pRetVal: The pRetVal parameter contains the binary data representing the output parameters
	// of the method called on the server. The binary data MUST be marshaled as specified
	// in [MS-NRTP] section 3.1.5.1.1. The data is specified as is in the BSTR, such that
	// the length of the BSTR is the size of the data divided by 2 (rounded up if necessary).
	ReturnValue *oaut.String `idl:"name:pRetVal" json:"return_value"`
	// Return: The RemoteDispatchNotAutoDone return value.
	Return int32 `idl:"name:Return" json:"return"`
}

RemoteDispatchNotAutoDoneResponse structure represents the RemoteDispatchNotAutoDone operation response

func (*RemoteDispatchNotAutoDoneResponse) MarshalNDR

func (*RemoteDispatchNotAutoDoneResponse) UnmarshalNDR

type RemoteDispatchServer

type RemoteDispatchServer interface {

	// IDispatch base class.
	idispatch.DispatchServer

	// The RemoteDispatchAutoDone method is called by the client to invoke a method on the
	// server.
	//
	// Return Values: An HRESULT that specifies success or failure. All success HRESULT
	// values MUST be treated as success and all failure HRESULT values MUST be treated
	// as failure.
	RemoteDispatchAutoDone(context.Context, *RemoteDispatchAutoDoneRequest) (*RemoteDispatchAutoDoneResponse, error)

	// The RemoteDispatchNotAutoDone method is called by the client to invoke a method on
	// the server.
	//
	// Return Values: An HRESULT that specifies success or failure. All success HRESULT
	// values MUST be treated as success and all failure HRESULT values MUST be treated
	// as failure.
	RemoteDispatchNotAutoDone(context.Context, *RemoteDispatchNotAutoDoneRequest) (*RemoteDispatchNotAutoDoneResponse, error)
}

IRemoteDispatch server interface.

Jump to

Keyboard shortcuts

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