Documentation
¶
Index ¶
- Variables
- func NewUpdateDownloadContentServerHandle(o UpdateDownloadContentServer) dcerpc.ServerHandle
- func RegisterUpdateDownloadContentServer(conn dcerpc.Conn, o UpdateDownloadContentServer, opts ...dcerpc.Option)
- func UpdateDownloadContentServerHandle(ctx context.Context, o UpdateDownloadContentServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type GetDownloadURLRequest
- type GetDownloadURLResponse
- type UnimplementedUpdateDownloadContentServer
- type UpdateDownloadContentClient
- type UpdateDownloadContentServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IUpdateDownloadContent interface identifier 54a2cb2d-9a0c-48b6-8a50-9abb69ee2d02 UpdateDownloadContentIID = &dcom.IID{Data1: 0x54a2cb2d, Data2: 0x9a0c, Data3: 0x48b6, Data4: []byte{0x8a, 0x50, 0x9a, 0xbb, 0x69, 0xee, 0x2d, 0x02}} // Syntax UUID UpdateDownloadContentSyntaxUUID = &uuid.UUID{TimeLow: 0x54a2cb2d, TimeMid: 0x9a0c, TimeHiAndVersion: 0x48b6, ClockSeqHiAndReserved: 0x8a, ClockSeqLow: 0x50, Node: [6]uint8{0x9a, 0xbb, 0x69, 0xee, 0x2d, 0x2}} // Syntax ID UpdateDownloadContentSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: UpdateDownloadContentSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/uamg"
)
Functions ¶
func NewUpdateDownloadContentServerHandle ¶
func NewUpdateDownloadContentServerHandle(o UpdateDownloadContentServer) dcerpc.ServerHandle
func RegisterUpdateDownloadContentServer ¶
func RegisterUpdateDownloadContentServer(conn dcerpc.Conn, o UpdateDownloadContentServer, opts ...dcerpc.Option)
Types ¶
type GetDownloadURLRequest ¶
type GetDownloadURLRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
GetDownloadURLRequest structure represents the DownloadUrl operation request
func (*GetDownloadURLRequest) MarshalNDR ¶
func (*GetDownloadURLRequest) UnmarshalNDR ¶
type GetDownloadURLResponse ¶
type GetDownloadURLResponse struct {
// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
That *dcom.ORPCThat `idl:"name:That" json:"that"`
// retval: A URL specifying the location of the download content.
ReturnValue *oaut.String `idl:"name:retval" json:"return_value"`
// Return: The DownloadUrl return value.
Return int32 `idl:"name:Return" json:"return"`
}
GetDownloadURLResponse structure represents the DownloadUrl operation response
func (*GetDownloadURLResponse) MarshalNDR ¶
func (*GetDownloadURLResponse) UnmarshalNDR ¶
type UnimplementedUpdateDownloadContentServer ¶
type UnimplementedUpdateDownloadContentServer struct {
idispatch.UnimplementedDispatchServer
}
Unimplemented IUpdateDownloadContent
func (UnimplementedUpdateDownloadContentServer) GetDownloadURL ¶
func (UnimplementedUpdateDownloadContentServer) GetDownloadURL(context.Context, *GetDownloadURLRequest) (*GetDownloadURLResponse, error)
type UpdateDownloadContentClient ¶
type UpdateDownloadContentClient interface {
// IDispatch retrieval method.
Dispatch() idispatch.DispatchClient
// The IUpdateDownloadContent::DownloadUrl (opnum 8) method retrieves the location of
// the content.
//
// Return Values: The method MUST return information in an HRESULT data structure. The
// severity bit in the structure identifies the following conditions:
//
// * If the severity bit is set to 0, the method completed successfully.
//
// * If the severity bit is set to 1, the method failed and encountered a fatal error.
//
// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
// RPC protocol [MS-RPCE].
//
// This method SHOULD return the value of the DownloadUrl ADM element.
GetDownloadURL(context.Context, *GetDownloadURLRequest, ...dcerpc.CallOption) (*GetDownloadURLResponse, 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) UpdateDownloadContentClient
}
IUpdateDownloadContent interface.
type UpdateDownloadContentServer ¶
type UpdateDownloadContentServer interface {
// IDispatch base class.
idispatch.DispatchServer
// The IUpdateDownloadContent::DownloadUrl (opnum 8) method retrieves the location of
// the content.
//
// Return Values: The method MUST return information in an HRESULT data structure. The
// severity bit in the structure identifies the following conditions:
//
// * If the severity bit is set to 0, the method completed successfully.
//
// * If the severity bit is set to 1, the method failed and encountered a fatal error.
//
// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
// RPC protocol [MS-RPCE].
//
// This method SHOULD return the value of the DownloadUrl ADM element.
GetDownloadURL(context.Context, *GetDownloadURLRequest) (*GetDownloadURLResponse, error)
}
IUpdateDownloadContent server interface.
Click to show internal directories.
Click to hide internal directories.