Documentation ¶
Index ¶
- Variables
- func CapabilitySupportServerHandle(ctx context.Context, o CapabilitySupportServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewCapabilitySupportServerHandle(o CapabilitySupportServer) dcerpc.ServerHandle
- func RegisterCapabilitySupportServer(conn dcerpc.Conn, o CapabilitySupportServer, opts ...dcerpc.Option)
- type CapabilitySupportClient
- type CapabilitySupportServer
- type IsInstalledRequest
- type IsInstalledResponse
- type IsRunningRequest
- type IsRunningResponse
- type StartRequest
- type StartResponse
- type StopRequest
- type StopResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ICapabilitySupport interface identifier 47cde9a1-0bf6-11d2-8016-00c04fb9988e CapabilitySupportIID = &dcom.IID{Data1: 0x47cde9a1, Data2: 0x0bf6, Data3: 0x11d2, Data4: []byte{0x80, 0x16, 0x00, 0xc0, 0x4f, 0xb9, 0x98, 0x8e}} // Syntax UUID CapabilitySupportSyntaxUUID = &uuid.UUID{TimeLow: 0x47cde9a1, TimeMid: 0xbf6, TimeHiAndVersion: 0x11d2, ClockSeqHiAndReserved: 0x80, ClockSeqLow: 0x16, Node: [6]uint8{0x0, 0xc0, 0x4f, 0xb9, 0x98, 0x8e}} // Syntax ID CapabilitySupportSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: CapabilitySupportSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/coma"
)
Functions ¶
func NewCapabilitySupportServerHandle ¶
func NewCapabilitySupportServerHandle(o CapabilitySupportServer) dcerpc.ServerHandle
func RegisterCapabilitySupportServer ¶
func RegisterCapabilitySupportServer(conn dcerpc.Conn, o CapabilitySupportServer, opts ...dcerpc.Option)
Types ¶
type CapabilitySupportClient ¶
type CapabilitySupportClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // This method is called by a client to start instance load balancing. // // Return Values: This method MUST return S_OK (0x00000000) on success, and a failure // result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST // be treated identically. Start(context.Context, *StartRequest, ...dcerpc.CallOption) (*StartResponse, error) // This method is called by a client to stop instance load balancing. // // Return Values: This method MUST return S_OK (0x00000000) on success, and a failure // result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST // be treated identically. Stop(context.Context, *StopRequest, ...dcerpc.CallOption) (*StopResponse, error) // This method is called by a client to determine whether instance load balancing is // installed. // // Return Values: This method MUST return S_OK (0x00000000) on success, and a failure // result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST // be treated identically. IsInstalled(context.Context, *IsInstalledRequest, ...dcerpc.CallOption) (*IsInstalledResponse, error) // This method is called by a client to determine whether instance load balancing is // running. // // Return Values: This method MUST return S_OK (0x00000000) on success, and a failure // result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST // be treated identically. IsRunning(context.Context, *IsRunningRequest, ...dcerpc.CallOption) (*IsRunningResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) CapabilitySupportClient }
ICapabilitySupport interface.
type CapabilitySupportServer ¶
type CapabilitySupportServer interface { // IUnknown base class. iunknown.UnknownServer // This method is called by a client to start instance load balancing. // // Return Values: This method MUST return S_OK (0x00000000) on success, and a failure // result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST // be treated identically. Start(context.Context, *StartRequest) (*StartResponse, error) // This method is called by a client to stop instance load balancing. // // Return Values: This method MUST return S_OK (0x00000000) on success, and a failure // result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST // be treated identically. Stop(context.Context, *StopRequest) (*StopResponse, error) // This method is called by a client to determine whether instance load balancing is // installed. // // Return Values: This method MUST return S_OK (0x00000000) on success, and a failure // result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST // be treated identically. IsInstalled(context.Context, *IsInstalledRequest) (*IsInstalledResponse, error) // This method is called by a client to determine whether instance load balancing is // running. // // Return Values: This method MUST return S_OK (0x00000000) on success, and a failure // result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST // be treated identically. IsRunning(context.Context, *IsRunningRequest) (*IsRunningResponse, error) }
ICapabilitySupport server interface.
type IsInstalledRequest ¶
type IsInstalledRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // i_css: MUST be set to css_lb (see section 2.2.7). CSS coma.CatServerServices `idl:"name:i_css" json:"css"` }
IsInstalledRequest structure represents the IsInstalled operation request
func (*IsInstalledRequest) MarshalNDR ¶
func (*IsInstalledRequest) UnmarshalNDR ¶
type IsInstalledResponse ¶
type IsInstalledResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // pulStatus: A pointer to a variable that, upon a successful return, MUST be set to // TRUE (0x00000001) or FALSE (0x000000000) to indicate whether component load balancing // support is installed. Status uint32 `idl:"name:pulStatus" json:"status"` // Return: The IsInstalled return value. Return int32 `idl:"name:Return" json:"return"` }
IsInstalledResponse structure represents the IsInstalled operation response
func (*IsInstalledResponse) MarshalNDR ¶
func (*IsInstalledResponse) UnmarshalNDR ¶
type IsRunningRequest ¶
type IsRunningRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // i_css: MUST be set to css_lb (see section 2.2.7). CSS coma.CatServerServices `idl:"name:i_css" json:"css"` }
IsRunningRequest structure represents the IsRunning operation request
func (*IsRunningRequest) MarshalNDR ¶
func (*IsRunningRequest) UnmarshalNDR ¶
type IsRunningResponse ¶
type IsRunningResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // pulStates: A pointer to a variable that, upon a successful return, MUST be set to // the CatSrvServiceState (section 2.2.8) value that indicates the current running state // of instance load balancing. States coma.CatServerServiceState `idl:"name:pulStates" json:"states"` // Return: The IsRunning return value. Return int32 `idl:"name:Return" json:"return"` }
IsRunningResponse structure represents the IsRunning operation response
func (*IsRunningResponse) MarshalNDR ¶
func (*IsRunningResponse) UnmarshalNDR ¶
type StartRequest ¶
type StartRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // i_css: MUST be set to css_lb (see section 2.2.7). CSS coma.CatServerServices `idl:"name:i_css" json:"css"` }
StartRequest structure represents the Start operation request
func (*StartRequest) MarshalNDR ¶
func (*StartRequest) UnmarshalNDR ¶
type StartResponse ¶
type StartResponse 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 Start return value. Return int32 `idl:"name:Return" json:"return"` }
StartResponse structure represents the Start operation response
func (*StartResponse) MarshalNDR ¶
func (*StartResponse) UnmarshalNDR ¶
type StopRequest ¶
type StopRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // i_css: MUST be set to css_lb (see section 2.2.7). CSS coma.CatServerServices `idl:"name:i_css" json:"css"` }
StopRequest structure represents the Stop operation request
func (*StopRequest) MarshalNDR ¶
func (*StopRequest) UnmarshalNDR ¶
type StopResponse ¶
type StopResponse 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 Stop return value. Return int32 `idl:"name:Return" json:"return"` }
StopResponse structure represents the Stop operation response
func (*StopResponse) MarshalNDR ¶
func (*StopResponse) UnmarshalNDR ¶
Click to show internal directories.
Click to hide internal directories.