Documentation
¶
Index ¶
- Variables
- func NewQuery3ServerHandle(o Query3Server) dcerpc.ServerHandle
- func Query3ServerHandle(ctx context.Context, o Query3Server, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func RegisterQuery3Server(conn dcerpc.Conn, o Query3Server, opts ...dcerpc.Option)
- type GetPropertiesRequest
- type GetPropertiesResponse
- type LookupQueueRequest
- type LookupQueueResponse
- type LookupQueueV2Request
- type LookupQueueV2Response
- type Query3Client
- type Query3Server
- type UnimplementedQuery3Server
- func (UnimplementedQuery3Server) GetProperties(context.Context, *GetPropertiesRequest) (*GetPropertiesResponse, error)
- func (UnimplementedQuery3Server) LookupQueue(context.Context, *LookupQueueRequest) (*LookupQueueResponse, error)
- func (UnimplementedQuery3Server) LookupQueueV2(context.Context, *LookupQueueV2Request) (*LookupQueueV2Response, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IMSMQQuery3 interface identifier eba96b19-2168-11d3-898c-00e02c074f6b Query3IID = &dcom.IID{Data1: 0xeba96b19, Data2: 0x2168, Data3: 0x11d3, Data4: []byte{0x89, 0x8c, 0x00, 0xe0, 0x2c, 0x07, 0x4f, 0x6b}} // Syntax UUID Query3SyntaxUUID = &uuid.UUID{TimeLow: 0xeba96b19, TimeMid: 0x2168, TimeHiAndVersion: 0x11d3, ClockSeqHiAndReserved: 0x89, ClockSeqLow: 0x8c, Node: [6]uint8{0x0, 0xe0, 0x2c, 0x7, 0x4f, 0x6b}} // Syntax ID Query3SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: Query3SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/mqac"
)
Functions ¶
func NewQuery3ServerHandle ¶
func NewQuery3ServerHandle(o Query3Server) dcerpc.ServerHandle
func Query3ServerHandle ¶
func RegisterQuery3Server ¶
func RegisterQuery3Server(conn dcerpc.Conn, o Query3Server, opts ...dcerpc.Option)
Types ¶
type GetPropertiesRequest ¶
type GetPropertiesRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
GetPropertiesRequest structure represents the Properties operation request
func (*GetPropertiesRequest) MarshalNDR ¶
func (*GetPropertiesRequest) UnmarshalNDR ¶
type GetPropertiesResponse ¶
type GetPropertiesResponse struct {
// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
That *dcom.ORPCThat `idl:"name:That" json:"that"`
Properties *oaut.Dispatch `idl:"name:ppcolProperties" json:"properties"`
// Return: The Properties return value.
Return int32 `idl:"name:Return" json:"return"`
}
GetPropertiesResponse structure represents the Properties operation response
func (*GetPropertiesResponse) MarshalNDR ¶
func (*GetPropertiesResponse) UnmarshalNDR ¶
type LookupQueueRequest ¶
type LookupQueueRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
// QueueGuid: Pointer to a VARIANT containing a BSTR that contains a string representation
// of a Queue.Identifier. The string MUST adhere to the following format, specified
// using ABNF.
QueueGUID *oaut.Variant `idl:"name:QueueGuid" json:"queue_guid"`
// ServiceTypeGuid: Pointer to a VARIANT containing a BSTR that contains a string representation
// of a Queue.Type. The string MUST adhere to the same format defined for QueueGuid.
ServiceTypeGUID *oaut.Variant `idl:"name:ServiceTypeGuid" json:"service_type_guid"`
// Label: Pointer to a VARIANT containing a BSTR that is used to query against Queue.Label.
Label *oaut.Variant `idl:"name:Label" json:"label"`
// CreateTime: Pointer to a VARIANT that contains a DATE that is used to query against
// Queue.CreateTime.
CreateTime *oaut.Variant `idl:"name:CreateTime" json:"create_time"`
// ModifyTime: Pointer to a VARIANT that contains a DATE that is used to query against
// Queue.ModifyTime.
ModifyTime *oaut.Variant `idl:"name:ModifyTime" json:"modify_time"`
// RelServiceType: Pointer to a VARIANT that contains a VT_I4 that specifies a logical
// comparison operator against the ServiceTypeGuid input parameter. This parameter corresponds
// to the RELOPS (section 2.2.2.20) enum. If this value is not specified by the client,
// the server MUST use the default value REL_EQ (0x00000001) in place of the unspecified
// value.
RelationServiceType *oaut.Variant `idl:"name:RelServiceType" json:"relation_service_type"`
// RelLabel: Pointer to a VARIANT that contains a VT_I4 that specifies a logical comparison
// operator against the Label input parameter. This parameter corresponds to the RELOPS
// enum. If this value is not specified by the client, the server MUST use the default
// value REL_EQ (0x00000001) in place of the unspecified value.
RelationLabel *oaut.Variant `idl:"name:RelLabel" json:"relation_label"`
// RelCreateTime: Pointer to a VARIANT that contains a VT_I4 that specifies a logical
// comparison operator against the CreateTime input parameter. This parameter corresponds
// to the RELOPS enum. If this value is not specified by the client, the server MUST
// use the default value REL_EQ (0x00000001) in place of the unspecified value.
RelationCreateTime *oaut.Variant `idl:"name:RelCreateTime" json:"relation_create_time"`
// RelModifyTime: Pointer to a VARIANT that contains a VT_I4 that specifies a logical
// comparison operator against the ModifyTime input parameter. This parameter corresponds
// to the RELOPS enum. If this value is not specified by the client, the server MUST
// use the default value REL_EQ (0x00000001) in place of the unspecified value.
RelationModifyTime *oaut.Variant `idl:"name:RelModifyTime" json:"relation_modify_time"`
// MulticastAddress: Pointer to a VARIANT that contains a BSTR that is used to query
// against the Queue.MulticastAddress. If this value is not specified or an empty string
// is passed in, the server MUST create a query restriction that matches all queues
// that do not have a MulticastAddress property defined.
MulticastAddress *oaut.Variant `idl:"name:MulticastAddress" json:"multicast_address"`
// RelMulticastAddress: Pointer to a VARIANT that contains a VT_I4 that specifies a
// logical comparison operator against the MulticastAddress input parameter. This parameter
// corresponds to the RELOPS enum. If this value is not specified by the client, the
// server MUST use the default value REL_EQ (0x00000001) in place of the unspecified
// value.
RelationMulticastAddress *oaut.Variant `idl:"name:RelMulticastAddress" json:"relation_multicast_address"`
}
LookupQueueRequest structure represents the LookupQueue operation request
func (*LookupQueueRequest) MarshalNDR ¶
func (*LookupQueueRequest) UnmarshalNDR ¶
type LookupQueueResponse ¶
type LookupQueueResponse struct {
// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
That *dcom.ORPCThat `idl:"name:That" json:"that"`
// ppqinfos: Pointer to an IMSMQQueueInfos4 interface pointer, which upon successful
// completion contains a pointer to a MSMQQueueInfos instance containing the query definition
// that can be used by the client to enumerate a collection of Queues that match the
// specified criteria.
S *mqac.QueueInfos3 `idl:"name:ppqinfos" json:"s"`
// Return: The LookupQueue return value.
Return int32 `idl:"name:Return" json:"return"`
}
LookupQueueResponse structure represents the LookupQueue operation response
func (*LookupQueueResponse) MarshalNDR ¶
func (*LookupQueueResponse) UnmarshalNDR ¶
type LookupQueueV2Request ¶
type LookupQueueV2Request struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
// QueueGuid: Pointer to a VARIANT containing a BSTR that contains a string representation
// of a Queue.Identifier. The string MUST adhere to the following format, specified
// using ABNF.
QueueGUID *oaut.Variant `idl:"name:QueueGuid" json:"queue_guid"`
// ServiceTypeGuid: Pointer to a VARIANT containing a BSTR that contains a string representation
// of a Queue.Type. The string MUST adhere to the same format defined for the QueueGuid
// input parameter.
ServiceTypeGUID *oaut.Variant `idl:"name:ServiceTypeGuid" json:"service_type_guid"`
// Label: Pointer to a VARIANT containing a BSTR that is used to query against the Queue.Label.
Label *oaut.Variant `idl:"name:Label" json:"label"`
// CreateTime: Pointer to a VARIANT that contains a DATE value that is used to query
// against Queue.CreateTime.
CreateTime *oaut.Variant `idl:"name:CreateTime" json:"create_time"`
// ModifyTime: Pointer to a VARIANT that contains a DATE value that is used to query
// against Queue.ModifyTime.
ModifyTime *oaut.Variant `idl:"name:ModifyTime" json:"modify_time"`
// RelServiceType: Pointer to a VARIANT that contains a VT_I4 that specifies a logical
// comparison operator against the ServiceTypeGuid input parameter. This parameter corresponds
// to the RELOPS (section 2.2.2.20) enum. If this value is not specified by the client,
// the server MUST use the default value REL_EQ (0x00000001) in place of the unspecified
// value.
RelationServiceType *oaut.Variant `idl:"name:RelServiceType" json:"relation_service_type"`
// RelLabel: Pointer to a VARIANT that contains a VT_I4 that specifies a logical comparison
// operator against the Label input parameter. This parameter corresponds to the RELOPS
// enum. If this value is not specified by the client, the server MUST use the default
// value REL_EQ (0x00000001) in place of the unspecified value.
RelationLabel *oaut.Variant `idl:"name:RelLabel" json:"relation_label"`
// RelCreateTime: Pointer to a VARIANT that contains a VT_I4 that specifies a logical
// comparison operator against the CreateTime input parameter. This parameter corresponds
// to the RELOPS enum. If this value is not specified by the client, the server MUST
// use the default value REL_EQ (0x00000001) in place of the unspecified value.
RelationCreateTime *oaut.Variant `idl:"name:RelCreateTime" json:"relation_create_time"`
// RelModifyTime: Pointer to a VARIANT that contains a VT_I4 that specifies a logical
// comparison operator against the ModifyTime input parameter. This parameter corresponds
// to the RELOPS enum. If this value is not specified by the client, the server MUST
// use the default value REL_EQ (0x00000001) in place of the unspecified value.
RelationModifyTime *oaut.Variant `idl:"name:RelModifyTime" json:"relation_modify_time"`
}
LookupQueueV2Request structure represents the LookupQueue_v2 operation request
func (*LookupQueueV2Request) MarshalNDR ¶
func (*LookupQueueV2Request) UnmarshalNDR ¶
type LookupQueueV2Response ¶
type LookupQueueV2Response struct {
// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
That *dcom.ORPCThat `idl:"name:That" json:"that"`
// ppqinfos: Pointer to an IMSMQQueueInfos4 interface pointer, which upon successful
// completion contains a pointer to an MSMQQueueInfos instance. This MSMQQueueInfos
// instance contains the query definition that can be used by the client to enumerate
// a collection of Directory Queues that match the specified criteria.
S *mqac.QueueInfos3 `idl:"name:ppqinfos" json:"s"`
// Return: The LookupQueue_v2 return value.
Return int32 `idl:"name:Return" json:"return"`
}
LookupQueueV2Response structure represents the LookupQueue_v2 operation response
func (*LookupQueueV2Response) MarshalNDR ¶
func (*LookupQueueV2Response) UnmarshalNDR ¶
type Query3Client ¶
type Query3Client interface {
// IDispatch retrieval method.
Dispatch() idispatch.DispatchClient
// The LookupQueue_v2 method is received by the server in an RPC_REQUEST packet. In
// response, the server MUST return a pointer to an IMSMQQueueInfos4 interface pointer.
// The returned interface allows the client to enumerate over a collection of Queues.
// The queue query represents search criteria based on any combination of Queue.Identifier,
// Queue.Type, Queue.Label, Queue.CreateTime, or Queue.ModifyTime properties.
//
// Return Values: The method MUST return S_OK (0x00000000) on success or an implementation-specific
// error HRESULT on failure.
LookupQueueV2(context.Context, *LookupQueueV2Request, ...dcerpc.CallOption) (*LookupQueueV2Response, error)
// Properties operation.
GetProperties(context.Context, *GetPropertiesRequest, ...dcerpc.CallOption) (*GetPropertiesResponse, error)
// The LookupQueue method is received by the server in an RPC_REQUEST packet. In response,
// the server MUST return a pointer to an IMSMQQueueInfos4 interface pointer. The returned
// interface allows the client to enumerate over a collection of Queues. The queue query
// represents search criteria based on any combination of Queue.Identifier, Queue.Type,
// Queue.Label, Queue.CreateTime, Queue.ModifyTime, or Queue.MulticastAddress properties.
//
// Return Values: The method MUST return S_OK (0x00000000) on success or an implementation-specific
// error HRESULT on failure.
LookupQueue(context.Context, *LookupQueueRequest, ...dcerpc.CallOption) (*LookupQueueResponse, 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) Query3Client
}
IMSMQQuery3 interface.
func NewQuery3Client ¶
type Query3Server ¶
type Query3Server interface {
// IDispatch base class.
idispatch.DispatchServer
// The LookupQueue_v2 method is received by the server in an RPC_REQUEST packet. In
// response, the server MUST return a pointer to an IMSMQQueueInfos4 interface pointer.
// The returned interface allows the client to enumerate over a collection of Queues.
// The queue query represents search criteria based on any combination of Queue.Identifier,
// Queue.Type, Queue.Label, Queue.CreateTime, or Queue.ModifyTime properties.
//
// Return Values: The method MUST return S_OK (0x00000000) on success or an implementation-specific
// error HRESULT on failure.
LookupQueueV2(context.Context, *LookupQueueV2Request) (*LookupQueueV2Response, error)
// Properties operation.
GetProperties(context.Context, *GetPropertiesRequest) (*GetPropertiesResponse, error)
// The LookupQueue method is received by the server in an RPC_REQUEST packet. In response,
// the server MUST return a pointer to an IMSMQQueueInfos4 interface pointer. The returned
// interface allows the client to enumerate over a collection of Queues. The queue query
// represents search criteria based on any combination of Queue.Identifier, Queue.Type,
// Queue.Label, Queue.CreateTime, Queue.ModifyTime, or Queue.MulticastAddress properties.
//
// Return Values: The method MUST return S_OK (0x00000000) on success or an implementation-specific
// error HRESULT on failure.
LookupQueue(context.Context, *LookupQueueRequest) (*LookupQueueResponse, error)
}
IMSMQQuery3 server interface.
type UnimplementedQuery3Server ¶
type UnimplementedQuery3Server struct {
idispatch.UnimplementedDispatchServer
}
Unimplemented IMSMQQuery3
func (UnimplementedQuery3Server) GetProperties ¶
func (UnimplementedQuery3Server) GetProperties(context.Context, *GetPropertiesRequest) (*GetPropertiesResponse, error)
func (UnimplementedQuery3Server) LookupQueue ¶
func (UnimplementedQuery3Server) LookupQueue(context.Context, *LookupQueueRequest) (*LookupQueueResponse, error)
func (UnimplementedQuery3Server) LookupQueueV2 ¶
func (UnimplementedQuery3Server) LookupQueueV2(context.Context, *LookupQueueV2Request) (*LookupQueueV2Response, error)
Click to show internal directories.
Click to hide internal directories.