Documentation ¶
Index ¶
- Variables
- func NewObjectServerHandle(o ObjectServer) dcerpc.ServerHandle
- func ObjectServerHandle(ctx context.Context, o ObjectServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func RegisterObjectServer(conn dcerpc.Conn, o ObjectServer, opts ...dcerpc.Option)
- type CommitRequest
- type CommitResponse
- type DeleteRequest
- type DeleteResponse
- type GetDescriptionRequest
- type GetDescriptionResponse
- type GetIDRequest
- type GetIDResponse
- type ObjectClient
- type ObjectServer
- type SetDescriptionRequest
- type SetDescriptionResponse
Constants ¶
This section is empty.
Variables ¶
var ( // IFsrmObject interface identifier 22bcef93-4a3f-4183-89f9-2f8b8a628aee ObjectIID = &dcom.IID{Data1: 0x22bcef93, Data2: 0x4a3f, Data3: 0x4183, Data4: []byte{0x89, 0xf9, 0x2f, 0x8b, 0x8a, 0x62, 0x8a, 0xee}} // Syntax UUID ObjectSyntaxUUID = &uuid.UUID{TimeLow: 0x22bcef93, TimeMid: 0x4a3f, TimeHiAndVersion: 0x4183, ClockSeqHiAndReserved: 0x89, ClockSeqLow: 0xf9, Node: [6]uint8{0x2f, 0x8b, 0x8a, 0x62, 0x8a, 0xee}} // Syntax ID ObjectSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ObjectSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
var (
// import guard
GoPackage = "dcom/fsrm"
)
Functions ¶
func NewObjectServerHandle ¶
func NewObjectServerHandle(o ObjectServer) dcerpc.ServerHandle
func ObjectServerHandle ¶
func RegisterObjectServer ¶
func RegisterObjectServer(conn dcerpc.Conn, o ObjectServer, opts ...dcerpc.Option)
Types ¶
type CommitRequest ¶
type CommitRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
CommitRequest structure represents the Commit operation request
func (*CommitRequest) MarshalNDR ¶
func (*CommitRequest) UnmarshalNDR ¶
type CommitResponse ¶
type CommitResponse 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 Commit return value. Return int32 `idl:"name:Return" json:"return"` }
CommitResponse structure represents the Commit operation response
func (*CommitResponse) MarshalNDR ¶
func (*CommitResponse) UnmarshalNDR ¶
type DeleteRequest ¶
type DeleteRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
DeleteRequest structure represents the Delete operation request
func (*DeleteRequest) MarshalNDR ¶
func (*DeleteRequest) UnmarshalNDR ¶
type DeleteResponse ¶
type DeleteResponse 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 Delete return value. Return int32 `idl:"name:Return" json:"return"` }
DeleteResponse structure represents the Delete operation response
func (*DeleteResponse) MarshalNDR ¶
func (*DeleteResponse) UnmarshalNDR ¶
type GetDescriptionRequest ¶
type GetDescriptionRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetDescriptionRequest structure represents the Description operation request
func (*GetDescriptionRequest) MarshalNDR ¶
func (*GetDescriptionRequest) UnmarshalNDR ¶
type GetDescriptionResponse ¶
type GetDescriptionResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` Description *oaut.String `idl:"name:description" json:"description"` // Return: The Description return value. Return int32 `idl:"name:Return" json:"return"` }
GetDescriptionResponse structure represents the Description operation response
func (*GetDescriptionResponse) MarshalNDR ¶
func (*GetDescriptionResponse) UnmarshalNDR ¶
type GetIDRequest ¶
type GetIDRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetIDRequest structure represents the Id operation request
func (*GetIDRequest) MarshalNDR ¶
func (*GetIDRequest) UnmarshalNDR ¶
type GetIDResponse ¶
type GetIDResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` ID *fsrm.ObjectID `idl:"name:id" json:"id"` // Return: The Id return value. Return int32 `idl:"name:Return" json:"return"` }
GetIDResponse structure represents the Id operation response
func (*GetIDResponse) MarshalNDR ¶
func (*GetIDResponse) UnmarshalNDR ¶
type ObjectClient ¶
type ObjectClient interface { // IDispatch retrieval method. Dispatch() idispatch.DispatchClient // Id operation. GetID(context.Context, *GetIDRequest, ...dcerpc.CallOption) (*GetIDResponse, error) // Description operation. GetDescription(context.Context, *GetDescriptionRequest, ...dcerpc.CallOption) (*GetDescriptionResponse, error) // Description operation. SetDescription(context.Context, *SetDescriptionRequest, ...dcerpc.CallOption) (*SetDescriptionResponse, error) // Delete operation. Delete(context.Context, *DeleteRequest, ...dcerpc.CallOption) (*DeleteResponse, error) // Commit operation. Commit(context.Context, *CommitRequest, ...dcerpc.CallOption) (*CommitResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) ObjectClient }
IFsrmObject interface.
func NewObjectClient ¶
type ObjectServer ¶
type ObjectServer interface { // IDispatch base class. idispatch.DispatchServer // Id operation. GetID(context.Context, *GetIDRequest) (*GetIDResponse, error) // Description operation. GetDescription(context.Context, *GetDescriptionRequest) (*GetDescriptionResponse, error) // Description operation. SetDescription(context.Context, *SetDescriptionRequest) (*SetDescriptionResponse, error) // Delete operation. Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) // Commit operation. Commit(context.Context, *CommitRequest) (*CommitResponse, error) }
IFsrmObject server interface.
type SetDescriptionRequest ¶
type SetDescriptionRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Description *oaut.String `idl:"name:description" json:"description"` }
SetDescriptionRequest structure represents the Description operation request
func (*SetDescriptionRequest) MarshalNDR ¶
func (*SetDescriptionRequest) UnmarshalNDR ¶
type SetDescriptionResponse ¶
type SetDescriptionResponse 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 Description return value. Return int32 `idl:"name:Return" json:"return"` }
SetDescriptionResponse structure represents the Description operation response