iclientsink

package
v1.2.16 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IClientSink interface identifier 879c8bbe-41b0-11d1-be11-00c04fb6bf70
	ClientSinkIID = &dcom.IID{Data1: 0x879c8bbe, Data2: 0x41b0, Data3: 0x11d1, Data4: []byte{0xbe, 0x11, 0x00, 0xc0, 0x4f, 0xb6, 0xbf, 0x70}}
	// Syntax UUID
	ClientSinkSyntaxUUID = &uuid.UUID{TimeLow: 0x879c8bbe, TimeMid: 0x41b0, TimeHiAndVersion: 0x11d1, ClockSeqHiAndReserved: 0xbe, ClockSeqLow: 0x11, Node: [6]uint8{0x0, 0xc0, 0x4f, 0xb6, 0xbf, 0x70}}
	// Syntax ID
	ClientSinkSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ClientSinkSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/rsmp"
)

Functions

func ClientSinkServerHandle

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

func NewClientSinkServerHandle

func NewClientSinkServerHandle(o ClientSinkServer) dcerpc.ServerHandle

func RegisterClientSinkServer

func RegisterClientSinkServer(conn dcerpc.Conn, o ClientSinkServer, opts ...dcerpc.Option)

Types

type ClientSinkClient

type ClientSinkClient interface {

	// IUnknown retrieval method.
	Unknown() iunknown.UnknownClient

	// OnNotify operation.
	OnNotify(context.Context, *OnNotifyRequest, ...dcerpc.CallOption) (*OnNotifyResponse, error)

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

	// Conn returns the client connection (unsafe)
	Conn() dcerpc.Conn

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

IClientSink interface.

func NewClientSinkClient

func NewClientSinkClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (ClientSinkClient, error)

type ClientSinkServer

type ClientSinkServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// OnNotify operation.
	OnNotify(context.Context, *OnNotifyRequest) (*OnNotifyResponse, error)
}

IClientSink server interface.

type OnNotifyRequest

type OnNotifyRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This      *dcom.ORPCThis `idl:"name:This" json:"this"`
	Type      uint32         `idl:"name:dwType" json:"type"`
	Operation uint32         `idl:"name:dwOperation" json:"operation"`
	ID        *dtyp.GUID     `idl:"name:lpIdentifier" json:"id"`
}

OnNotifyRequest structure represents the OnNotify operation request

func (*OnNotifyRequest) MarshalNDR

func (o *OnNotifyRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*OnNotifyRequest) UnmarshalNDR

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

type OnNotifyResponse

type OnNotifyResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The OnNotify return value.
	Return int32 `idl:"name:Return" json:"return"`
}

OnNotifyResponse structure represents the OnNotify operation response

func (*OnNotifyResponse) MarshalNDR

func (o *OnNotifyResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*OnNotifyResponse) UnmarshalNDR

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

type UnimplementedClientSinkServer

type UnimplementedClientSinkServer struct {
	iunknown.UnimplementedUnknownServer
}

Unimplemented IClientSink

func (UnimplementedClientSinkServer) OnNotify

Jump to

Keyboard shortcuts

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