Documentation
¶
Index ¶
- Variables
- func ClientSinkServerHandle(ctx context.Context, o ClientSinkServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewClientSinkServerHandle(o ClientSinkServer) dcerpc.ServerHandle
- func RegisterClientSinkServer(conn dcerpc.Conn, o ClientSinkServer, opts ...dcerpc.Option)
- type ClientSinkClient
- type ClientSinkServer
- type OnNotifyRequest
- type OnNotifyResponse
- type UnimplementedClientSinkServer
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 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 ¶
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 (*OnNotifyRequest) UnmarshalNDR ¶
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 (*OnNotifyResponse) UnmarshalNDR ¶
type UnimplementedClientSinkServer ¶
type UnimplementedClientSinkServer struct {
iunknown.UnimplementedUnknownServer
}
Unimplemented IClientSink
func (UnimplementedClientSinkServer) OnNotify ¶
func (UnimplementedClientSinkServer) OnNotify(context.Context, *OnNotifyRequest) (*OnNotifyResponse, error)
Click to show internal directories.
Click to hide internal directories.