Documentation
¶
Index ¶
- Variables
- func AppHostMethodInstanceServerHandle(ctx context.Context, o AppHostMethodInstanceServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewAppHostMethodInstanceServerHandle(o AppHostMethodInstanceServer) dcerpc.ServerHandle
- func RegisterAppHostMethodInstanceServer(conn dcerpc.Conn, o AppHostMethodInstanceServer, opts ...dcerpc.Option)
- type AppHostMethodInstanceClient
- type AppHostMethodInstanceServer
- type ExecuteRequest
- type ExecuteResponse
- type GetInputRequest
- type GetInputResponse
- type GetMetadataRequest
- type GetMetadataResponse
- type GetOutputRequest
- type GetOutputResponse
- type SetMetadataRequest
- type SetMetadataResponse
- type UnimplementedAppHostMethodInstanceServer
- func (UnimplementedAppHostMethodInstanceServer) Execute(context.Context, *ExecuteRequest) (*ExecuteResponse, error)
- func (UnimplementedAppHostMethodInstanceServer) GetInput(context.Context, *GetInputRequest) (*GetInputResponse, error)
- func (UnimplementedAppHostMethodInstanceServer) GetMetadata(context.Context, *GetMetadataRequest) (*GetMetadataResponse, error)
- func (UnimplementedAppHostMethodInstanceServer) GetOutput(context.Context, *GetOutputRequest) (*GetOutputResponse, error)
- func (UnimplementedAppHostMethodInstanceServer) SetMetadata(context.Context, *SetMetadataRequest) (*SetMetadataResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( // IAppHostMethodInstance interface identifier b80f3c42-60e0-4ae0-9007-f52852d3dbed AppHostMethodInstanceIID = &dcom.IID{Data1: 0xb80f3c42, Data2: 0x60e0, Data3: 0x4ae0, Data4: []byte{0x90, 0x07, 0xf5, 0x28, 0x52, 0xd3, 0xdb, 0xed}} // Syntax UUID AppHostMethodInstanceSyntaxUUID = &uuid.UUID{TimeLow: 0xb80f3c42, TimeMid: 0x60e0, TimeHiAndVersion: 0x4ae0, ClockSeqHiAndReserved: 0x90, ClockSeqLow: 0x7, Node: [6]uint8{0xf5, 0x28, 0x52, 0xd3, 0xdb, 0xed}} // Syntax ID AppHostMethodInstanceSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: AppHostMethodInstanceSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
var (
// import guard
GoPackage = "dcom/iisa"
)
Functions ¶
func NewAppHostMethodInstanceServerHandle ¶
func NewAppHostMethodInstanceServerHandle(o AppHostMethodInstanceServer) dcerpc.ServerHandle
func RegisterAppHostMethodInstanceServer ¶
func RegisterAppHostMethodInstanceServer(conn dcerpc.Conn, o AppHostMethodInstanceServer, opts ...dcerpc.Option)
Types ¶
type AppHostMethodInstanceClient ¶
type AppHostMethodInstanceClient interface {
// IUnknown retrieval method.
Unknown() iunknown.UnknownClient
// The Input method is received by the server in an RPC_REQUEST packet. In response,
// the server returns an IAppHostElement in which input parameters can be specified
// for the specified method instance call. If the method does not support input parameters,
// no IAppHostElement is returned.
//
// Return Values: The server MUST return zero if it successfully processes the message
// that is received from the client. If processing fails, the server MUST return a nonzero
// HRESULT code as defined in [MS-ERREF]. The following table describes the error conditions
// that MUST be handled and the corresponding error codes. A server MAY return additional
// implementation-specific error codes.
//
// +------------------------------------+-----------------------------------------------+
// | RETURN | |
// | VALUE/CODE | DESCRIPTION |
// | | |
// +------------------------------------+-----------------------------------------------+
// +------------------------------------+-----------------------------------------------+
// | 0X00000000 NO_ERROR | The operation completed successfully. |
// +------------------------------------+-----------------------------------------------+
// | 0X80070057 ERROR_INVALID_PARAMETER | One or more parameters are incorrect or null. |
// +------------------------------------+-----------------------------------------------+
GetInput(context.Context, *GetInputRequest, ...dcerpc.CallOption) (*GetInputResponse, error)
// The Output method is received by the server in an RPC_REQUEST packet. In response,
// the server returns an IAppHostElement from which output parameters are retrieved
// after the specified method instance has been executed. If the method does not support
// output parameters, no IAppHostElement is returned.
//
// Return Values: The server MUST return zero if it successfully processes the message
// that is received from the client. If processing fails, the server MUST return a nonzero
// HRESULT code as defined in [MS-ERREF]. The following table describes the error conditions
// that MUST be handled and the corresponding error codes. A server MAY return additional
// implementation-specific error codes.
//
// +------------------------------------+-----------------------------------------------+
// | RETURN | |
// | VALUE/CODE | DESCRIPTION |
// | | |
// +------------------------------------+-----------------------------------------------+
// +------------------------------------+-----------------------------------------------+
// | 0X00000000 NO_ERROR | The operation completed successfully. |
// +------------------------------------+-----------------------------------------------+
// | 0X80070057 ERROR_INVALID_PARAMETER | One or more parameters are incorrect or null. |
// +------------------------------------+-----------------------------------------------+
GetOutput(context.Context, *GetOutputRequest, ...dcerpc.CallOption) (*GetOutputResponse, error)
// The Execute method is received by the server in an RPC_REQUEST packet. In response,
// the server actually executes the specified custom method.
//
// This method has no parameters.
//
// Return Values: The server MUST return zero if it successfully processes the message
// that is received from the client. If processing fails, the server MUST return a nonzero
// HRESULT code as defined in [MS-ERREF]. The following table describes the error conditions
// that MUST be handled and the corresponding error codes. A server MAY return additional
// implementation-specific error codes.
//
// +---------------------+---------------------------------------+
// | RETURN | |
// | VALUE/CODE | DESCRIPTION |
// | | |
// +---------------------+---------------------------------------+
// +---------------------+---------------------------------------+
// | 0X00000000 NO_ERROR | The operation completed successfully. |
// +---------------------+---------------------------------------+
Execute(context.Context, *ExecuteRequest, ...dcerpc.CallOption) (*ExecuteResponse, error)
// GetMetadata operation.
GetMetadata(context.Context, *GetMetadataRequest, ...dcerpc.CallOption) (*GetMetadataResponse, error)
// SetMetadata operation.
SetMetadata(context.Context, *SetMetadataRequest, ...dcerpc.CallOption) (*SetMetadataResponse, 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) AppHostMethodInstanceClient
}
IAppHostMethodInstance interface.
type AppHostMethodInstanceServer ¶
type AppHostMethodInstanceServer interface {
// IUnknown base class.
iunknown.UnknownServer
// The Input method is received by the server in an RPC_REQUEST packet. In response,
// the server returns an IAppHostElement in which input parameters can be specified
// for the specified method instance call. If the method does not support input parameters,
// no IAppHostElement is returned.
//
// Return Values: The server MUST return zero if it successfully processes the message
// that is received from the client. If processing fails, the server MUST return a nonzero
// HRESULT code as defined in [MS-ERREF]. The following table describes the error conditions
// that MUST be handled and the corresponding error codes. A server MAY return additional
// implementation-specific error codes.
//
// +------------------------------------+-----------------------------------------------+
// | RETURN | |
// | VALUE/CODE | DESCRIPTION |
// | | |
// +------------------------------------+-----------------------------------------------+
// +------------------------------------+-----------------------------------------------+
// | 0X00000000 NO_ERROR | The operation completed successfully. |
// +------------------------------------+-----------------------------------------------+
// | 0X80070057 ERROR_INVALID_PARAMETER | One or more parameters are incorrect or null. |
// +------------------------------------+-----------------------------------------------+
GetInput(context.Context, *GetInputRequest) (*GetInputResponse, error)
// The Output method is received by the server in an RPC_REQUEST packet. In response,
// the server returns an IAppHostElement from which output parameters are retrieved
// after the specified method instance has been executed. If the method does not support
// output parameters, no IAppHostElement is returned.
//
// Return Values: The server MUST return zero if it successfully processes the message
// that is received from the client. If processing fails, the server MUST return a nonzero
// HRESULT code as defined in [MS-ERREF]. The following table describes the error conditions
// that MUST be handled and the corresponding error codes. A server MAY return additional
// implementation-specific error codes.
//
// +------------------------------------+-----------------------------------------------+
// | RETURN | |
// | VALUE/CODE | DESCRIPTION |
// | | |
// +------------------------------------+-----------------------------------------------+
// +------------------------------------+-----------------------------------------------+
// | 0X00000000 NO_ERROR | The operation completed successfully. |
// +------------------------------------+-----------------------------------------------+
// | 0X80070057 ERROR_INVALID_PARAMETER | One or more parameters are incorrect or null. |
// +------------------------------------+-----------------------------------------------+
GetOutput(context.Context, *GetOutputRequest) (*GetOutputResponse, error)
// The Execute method is received by the server in an RPC_REQUEST packet. In response,
// the server actually executes the specified custom method.
//
// This method has no parameters.
//
// Return Values: The server MUST return zero if it successfully processes the message
// that is received from the client. If processing fails, the server MUST return a nonzero
// HRESULT code as defined in [MS-ERREF]. The following table describes the error conditions
// that MUST be handled and the corresponding error codes. A server MAY return additional
// implementation-specific error codes.
//
// +---------------------+---------------------------------------+
// | RETURN | |
// | VALUE/CODE | DESCRIPTION |
// | | |
// +---------------------+---------------------------------------+
// +---------------------+---------------------------------------+
// | 0X00000000 NO_ERROR | The operation completed successfully. |
// +---------------------+---------------------------------------+
Execute(context.Context, *ExecuteRequest) (*ExecuteResponse, error)
// GetMetadata operation.
GetMetadata(context.Context, *GetMetadataRequest) (*GetMetadataResponse, error)
// SetMetadata operation.
SetMetadata(context.Context, *SetMetadataRequest) (*SetMetadataResponse, error)
}
IAppHostMethodInstance server interface.
type ExecuteRequest ¶
type ExecuteRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
ExecuteRequest structure represents the Execute operation request
func (*ExecuteRequest) MarshalNDR ¶
func (*ExecuteRequest) UnmarshalNDR ¶
type ExecuteResponse ¶
type ExecuteResponse 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 Execute return value.
Return int32 `idl:"name:Return" json:"return"`
}
ExecuteResponse structure represents the Execute operation response
func (*ExecuteResponse) MarshalNDR ¶
func (*ExecuteResponse) UnmarshalNDR ¶
type GetInputRequest ¶
type GetInputRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
GetInputRequest structure represents the Input operation request
func (*GetInputRequest) MarshalNDR ¶
func (*GetInputRequest) UnmarshalNDR ¶
type GetInputResponse ¶
type GetInputResponse struct {
// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
That *dcom.ORPCThat `idl:"name:That" json:"that"`
// ppInputElement: Contains the IAppHostElement that represents the input parameters.
InputElement *iisa.AppHostElement `idl:"name:ppInputElement" json:"input_element"`
// Return: The Input return value.
Return int32 `idl:"name:Return" json:"return"`
}
GetInputResponse structure represents the Input operation response
func (*GetInputResponse) MarshalNDR ¶
func (*GetInputResponse) UnmarshalNDR ¶
type GetMetadataRequest ¶
type GetMetadataRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
MetadataType *oaut.String `idl:"name:bstrMetadataType" json:"metadata_type"`
}
GetMetadataRequest structure represents the GetMetadata operation request
func (*GetMetadataRequest) MarshalNDR ¶
func (*GetMetadataRequest) UnmarshalNDR ¶
type GetMetadataResponse ¶
type GetMetadataResponse struct {
// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
That *dcom.ORPCThat `idl:"name:That" json:"that"`
Value *oaut.Variant `idl:"name:pValue" json:"value"`
// Return: The GetMetadata return value.
Return int32 `idl:"name:Return" json:"return"`
}
GetMetadataResponse structure represents the GetMetadata operation response
func (*GetMetadataResponse) MarshalNDR ¶
func (*GetMetadataResponse) UnmarshalNDR ¶
type GetOutputRequest ¶
type GetOutputRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
GetOutputRequest structure represents the Output operation request
func (*GetOutputRequest) MarshalNDR ¶
func (*GetOutputRequest) UnmarshalNDR ¶
type GetOutputResponse ¶
type GetOutputResponse struct {
// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
That *dcom.ORPCThat `idl:"name:That" json:"that"`
// ppOutputElement: Contains the IAppHostElement that represents the output parameters.
OutputElement *iisa.AppHostElement `idl:"name:ppOutputElement" json:"output_element"`
// Return: The Output return value.
Return int32 `idl:"name:Return" json:"return"`
}
GetOutputResponse structure represents the Output operation response
func (*GetOutputResponse) MarshalNDR ¶
func (*GetOutputResponse) UnmarshalNDR ¶
type SetMetadataRequest ¶
type SetMetadataRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
MetadataType *oaut.String `idl:"name:bstrMetadataType" json:"metadata_type"`
Value *oaut.Variant `idl:"name:value" json:"value"`
}
SetMetadataRequest structure represents the SetMetadata operation request
func (*SetMetadataRequest) MarshalNDR ¶
func (*SetMetadataRequest) UnmarshalNDR ¶
type SetMetadataResponse ¶
type SetMetadataResponse 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 SetMetadata return value.
Return int32 `idl:"name:Return" json:"return"`
}
SetMetadataResponse structure represents the SetMetadata operation response
func (*SetMetadataResponse) MarshalNDR ¶
func (*SetMetadataResponse) UnmarshalNDR ¶
type UnimplementedAppHostMethodInstanceServer ¶ added in v1.1.5
type UnimplementedAppHostMethodInstanceServer struct {
iunknown.UnimplementedUnknownServer
}
Unimplemented IAppHostMethodInstance
func (UnimplementedAppHostMethodInstanceServer) Execute ¶ added in v1.1.5
func (UnimplementedAppHostMethodInstanceServer) Execute(context.Context, *ExecuteRequest) (*ExecuteResponse, error)
func (UnimplementedAppHostMethodInstanceServer) GetInput ¶ added in v1.1.5
func (UnimplementedAppHostMethodInstanceServer) GetInput(context.Context, *GetInputRequest) (*GetInputResponse, error)
func (UnimplementedAppHostMethodInstanceServer) GetMetadata ¶ added in v1.1.5
func (UnimplementedAppHostMethodInstanceServer) GetMetadata(context.Context, *GetMetadataRequest) (*GetMetadataResponse, error)
func (UnimplementedAppHostMethodInstanceServer) GetOutput ¶ added in v1.1.5
func (UnimplementedAppHostMethodInstanceServer) GetOutput(context.Context, *GetOutputRequest) (*GetOutputResponse, error)
func (UnimplementedAppHostMethodInstanceServer) SetMetadata ¶ added in v1.1.5
func (UnimplementedAppHostMethodInstanceServer) SetMetadata(context.Context, *SetMetadataRequest) (*SetMetadataResponse, error)