icapabilitysupport

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 CapabilitySupportServerHandle

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

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.

func NewCapabilitySupportClient

func NewCapabilitySupportClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (CapabilitySupportClient, error)

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 (o *IsInstalledRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*IsInstalledRequest) UnmarshalNDR

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

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 (o *IsInstalledResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*IsInstalledResponse) UnmarshalNDR

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

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 (o *IsRunningRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*IsRunningRequest) UnmarshalNDR

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

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 (o *IsRunningResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*IsRunningResponse) UnmarshalNDR

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

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 (o *StartRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*StartRequest) UnmarshalNDR

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

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 (o *StartResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*StartResponse) UnmarshalNDR

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

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 (o *StopRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*StopRequest) UnmarshalNDR

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

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 (o *StopResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*StopResponse) UnmarshalNDR

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

Jump to

Keyboard shortcuts

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