Documentation ¶
Index ¶
- Variables
- func NewSAFSessionServerHandle(o SAFSessionServer) dcerpc.ServerHandle
- func RegisterSAFSessionServer(conn dcerpc.Conn, o SAFSessionServer, opts ...dcerpc.Option)
- func SAFSessionServerHandle(ctx context.Context, o SAFSessionServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type GetDomainNameRequest
- type GetDomainNameResponse
- type GetSessionIDRequest
- type GetSessionIDResponse
- type GetSessionStateRequest
- type GetSessionStateResponse
- type GetUserNameRequest
- type GetUserNameResponse
- type SAFSessionClient
- type SAFSessionServer
- type SetDomainNameRequest
- type SetDomainNameResponse
- type SetSessionIDRequest
- type SetSessionIDResponse
- type SetSessionStateRequest
- type SetSessionStateResponse
- type SetUserNameRequest
- type SetUserNameResponse
Constants ¶
This section is empty.
Variables ¶
var ( // ISAFSession interface identifier 833e41aa-aff7-4ac3-aac2-9f24c1457bce SAFSessionIID = &dcom.IID{Data1: 0x833e41aa, Data2: 0xaff7, Data3: 0x4ac3, Data4: []byte{0xaa, 0xc2, 0x9f, 0x24, 0xc1, 0x45, 0x7b, 0xce}} // Syntax UUID SAFSessionSyntaxUUID = &uuid.UUID{TimeLow: 0x833e41aa, TimeMid: 0xaff7, TimeHiAndVersion: 0x4ac3, ClockSeqHiAndReserved: 0xaa, ClockSeqLow: 0xc2, Node: [6]uint8{0x9f, 0x24, 0xc1, 0x45, 0x7b, 0xce}} // Syntax ID SAFSessionSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: SAFSessionSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
var (
// import guard
GoPackage = "dcom/rai"
)
Functions ¶
func NewSAFSessionServerHandle ¶
func NewSAFSessionServerHandle(o SAFSessionServer) dcerpc.ServerHandle
func RegisterSAFSessionServer ¶
func RegisterSAFSessionServer(conn dcerpc.Conn, o SAFSessionServer, opts ...dcerpc.Option)
Types ¶
type GetDomainNameRequest ¶
type GetDomainNameRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetDomainNameRequest structure represents the DomainName operation request
func (*GetDomainNameRequest) MarshalNDR ¶
func (*GetDomainNameRequest) UnmarshalNDR ¶
type GetDomainNameResponse ¶
type GetDomainNameResponse 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.String `idl:"name:pVal" json:"value"` // Return: The DomainName return value. Return int32 `idl:"name:Return" json:"return"` }
GetDomainNameResponse structure represents the DomainName operation response
func (*GetDomainNameResponse) MarshalNDR ¶
func (*GetDomainNameResponse) UnmarshalNDR ¶
type GetSessionIDRequest ¶
type GetSessionIDRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetSessionIDRequest structure represents the SessionID operation request
func (*GetSessionIDRequest) MarshalNDR ¶
func (*GetSessionIDRequest) UnmarshalNDR ¶
type GetSessionIDResponse ¶
type GetSessionIDResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` Value uint32 `idl:"name:pVal" json:"value"` // Return: The SessionID return value. Return int32 `idl:"name:Return" json:"return"` }
GetSessionIDResponse structure represents the SessionID operation response
func (*GetSessionIDResponse) MarshalNDR ¶
func (*GetSessionIDResponse) UnmarshalNDR ¶
type GetSessionStateRequest ¶
type GetSessionStateRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetSessionStateRequest structure represents the SessionState operation request
func (*GetSessionStateRequest) MarshalNDR ¶
func (*GetSessionStateRequest) UnmarshalNDR ¶
type GetSessionStateResponse ¶
type GetSessionStateResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` Value rai.SessionStateEnum `idl:"name:pVal" json:"value"` // Return: The SessionState return value. Return int32 `idl:"name:Return" json:"return"` }
GetSessionStateResponse structure represents the SessionState operation response
func (*GetSessionStateResponse) MarshalNDR ¶
func (*GetSessionStateResponse) UnmarshalNDR ¶
type GetUserNameRequest ¶
type GetUserNameRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetUserNameRequest structure represents the UserName operation request
func (*GetUserNameRequest) MarshalNDR ¶
func (*GetUserNameRequest) UnmarshalNDR ¶
type GetUserNameResponse ¶
type GetUserNameResponse 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.String `idl:"name:pVal" json:"value"` // Return: The UserName return value. Return int32 `idl:"name:Return" json:"return"` }
GetUserNameResponse structure represents the UserName operation response
func (*GetUserNameResponse) MarshalNDR ¶
func (*GetUserNameResponse) UnmarshalNDR ¶
type SAFSessionClient ¶
type SAFSessionClient interface { // IDispatch retrieval method. Dispatch() idispatch.DispatchClient // SessionID operation. GetSessionID(context.Context, *GetSessionIDRequest, ...dcerpc.CallOption) (*GetSessionIDResponse, error) // SessionID operation. SetSessionID(context.Context, *SetSessionIDRequest, ...dcerpc.CallOption) (*SetSessionIDResponse, error) // SessionState operation. GetSessionState(context.Context, *GetSessionStateRequest, ...dcerpc.CallOption) (*GetSessionStateResponse, error) // SessionState operation. SetSessionState(context.Context, *SetSessionStateRequest, ...dcerpc.CallOption) (*SetSessionStateResponse, error) // DomainName operation. GetDomainName(context.Context, *GetDomainNameRequest, ...dcerpc.CallOption) (*GetDomainNameResponse, error) // DomainName operation. SetDomainName(context.Context, *SetDomainNameRequest, ...dcerpc.CallOption) (*SetDomainNameResponse, error) // UserName operation. GetUserName(context.Context, *GetUserNameRequest, ...dcerpc.CallOption) (*GetUserNameResponse, error) // UserName operation. SetUserName(context.Context, *SetUserNameRequest, ...dcerpc.CallOption) (*SetUserNameResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) SAFSessionClient }
ISAFSession interface.
func NewSAFSessionClient ¶
type SAFSessionServer ¶
type SAFSessionServer interface { // IDispatch base class. idispatch.DispatchServer // SessionID operation. GetSessionID(context.Context, *GetSessionIDRequest) (*GetSessionIDResponse, error) // SessionID operation. SetSessionID(context.Context, *SetSessionIDRequest) (*SetSessionIDResponse, error) // SessionState operation. GetSessionState(context.Context, *GetSessionStateRequest) (*GetSessionStateResponse, error) // SessionState operation. SetSessionState(context.Context, *SetSessionStateRequest) (*SetSessionStateResponse, error) // DomainName operation. GetDomainName(context.Context, *GetDomainNameRequest) (*GetDomainNameResponse, error) // DomainName operation. SetDomainName(context.Context, *SetDomainNameRequest) (*SetDomainNameResponse, error) // UserName operation. GetUserName(context.Context, *GetUserNameRequest) (*GetUserNameResponse, error) // UserName operation. SetUserName(context.Context, *SetUserNameRequest) (*SetUserNameResponse, error) }
ISAFSession server interface.
type SetDomainNameRequest ¶
type SetDomainNameRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Value *oaut.String `idl:"name:pVal" json:"value"` }
SetDomainNameRequest structure represents the DomainName operation request
func (*SetDomainNameRequest) MarshalNDR ¶
func (*SetDomainNameRequest) UnmarshalNDR ¶
type SetDomainNameResponse ¶
type SetDomainNameResponse 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 DomainName return value. Return int32 `idl:"name:Return" json:"return"` }
SetDomainNameResponse structure represents the DomainName operation response
func (*SetDomainNameResponse) MarshalNDR ¶
func (*SetDomainNameResponse) UnmarshalNDR ¶
type SetSessionIDRequest ¶
type SetSessionIDRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Value uint32 `idl:"name:pVal" json:"value"` }
SetSessionIDRequest structure represents the SessionID operation request
func (*SetSessionIDRequest) MarshalNDR ¶
func (*SetSessionIDRequest) UnmarshalNDR ¶
type SetSessionIDResponse ¶
type SetSessionIDResponse 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 SessionID return value. Return int32 `idl:"name:Return" json:"return"` }
SetSessionIDResponse structure represents the SessionID operation response
func (*SetSessionIDResponse) MarshalNDR ¶
func (*SetSessionIDResponse) UnmarshalNDR ¶
type SetSessionStateRequest ¶
type SetSessionStateRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Value rai.SessionStateEnum `idl:"name:pVal" json:"value"` }
SetSessionStateRequest structure represents the SessionState operation request
func (*SetSessionStateRequest) MarshalNDR ¶
func (*SetSessionStateRequest) UnmarshalNDR ¶
type SetSessionStateResponse ¶
type SetSessionStateResponse 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 SessionState return value. Return int32 `idl:"name:Return" json:"return"` }
SetSessionStateResponse structure represents the SessionState operation response
func (*SetSessionStateResponse) MarshalNDR ¶
func (*SetSessionStateResponse) UnmarshalNDR ¶
type SetUserNameRequest ¶
type SetUserNameRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Value *oaut.String `idl:"name:pVal" json:"value"` }
SetUserNameRequest structure represents the UserName operation request
func (*SetUserNameRequest) MarshalNDR ¶
func (*SetUserNameRequest) UnmarshalNDR ¶
type SetUserNameResponse ¶
type SetUserNameResponse 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 UserName return value. Return int32 `idl:"name:Return" json:"return"` }
SetUserNameResponse structure represents the UserName operation response