queryf

package
v1.4.34 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

Package queryf comment This file was generated by ksf2go 1.1.7 Generated from QueryF.ksf

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryF

type QueryF struct {
	// contains filtered or unexported fields
}

QueryF struct

func (*QueryF) Dispatch

func (obj *QueryF) Dispatch(ksfCtx context.Context, val interface{}, ksfReq *requestf.RequestPacket, ksfResp *requestf.ResponsePacket, withContext bool) (err error)

Dispatch is used to call the server side implement for the method defined in the ksf file. withContext shows using context or not.

func (*QueryF) FindObjectById

func (obj *QueryF) FindObjectById(id string, opts ...map[string]string) (ret []endpointf.EndpointF, err error)

FindObjectById is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectById4All

func (obj *QueryF) FindObjectById4All(id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, opts ...map[string]string) (ret int32, err error)

FindObjectById4All is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectById4AllOneWayWithContext

func (obj *QueryF) FindObjectById4AllOneWayWithContext(ksfCtx context.Context, id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, opts ...map[string]string) (ret int32, err error)

FindObjectById4AllOneWayWithContext is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectById4AllWithContext

func (obj *QueryF) FindObjectById4AllWithContext(ksfCtx context.Context, id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, opts ...map[string]string) (ret int32, err error)

FindObjectById4AllWithContext is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectById4Any

func (obj *QueryF) FindObjectById4Any(id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, opts ...map[string]string) (ret int32, err error)

FindObjectById4Any is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectById4AnyOneWayWithContext

func (obj *QueryF) FindObjectById4AnyOneWayWithContext(ksfCtx context.Context, id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, opts ...map[string]string) (ret int32, err error)

FindObjectById4AnyOneWayWithContext is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectById4AnyWithContext

func (obj *QueryF) FindObjectById4AnyWithContext(ksfCtx context.Context, id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, opts ...map[string]string) (ret int32, err error)

FindObjectById4AnyWithContext is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectByIdInSameGroup

func (obj *QueryF) FindObjectByIdInSameGroup(id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, opts ...map[string]string) (ret int32, err error)

FindObjectByIdInSameGroup is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectByIdInSameGroupOneWayWithContext

func (obj *QueryF) FindObjectByIdInSameGroupOneWayWithContext(ksfCtx context.Context, id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, opts ...map[string]string) (ret int32, err error)

FindObjectByIdInSameGroupOneWayWithContext is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectByIdInSameGroupWithContext

func (obj *QueryF) FindObjectByIdInSameGroupWithContext(ksfCtx context.Context, id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, opts ...map[string]string) (ret int32, err error)

FindObjectByIdInSameGroupWithContext is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectByIdInSameSet

func (obj *QueryF) FindObjectByIdInSameSet(id string, setId string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, opts ...map[string]string) (ret int32, err error)

FindObjectByIdInSameSet is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectByIdInSameSetOneWayWithContext

func (obj *QueryF) FindObjectByIdInSameSetOneWayWithContext(ksfCtx context.Context, id string, setId string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, opts ...map[string]string) (ret int32, err error)

FindObjectByIdInSameSetOneWayWithContext is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectByIdInSameSetWithContext

func (obj *QueryF) FindObjectByIdInSameSetWithContext(ksfCtx context.Context, id string, setId string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, opts ...map[string]string) (ret int32, err error)

FindObjectByIdInSameSetWithContext is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectByIdInSameStation

func (obj *QueryF) FindObjectByIdInSameStation(id string, sStation string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, opts ...map[string]string) (ret int32, err error)

FindObjectByIdInSameStation is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectByIdInSameStationOneWayWithContext

func (obj *QueryF) FindObjectByIdInSameStationOneWayWithContext(ksfCtx context.Context, id string, sStation string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, opts ...map[string]string) (ret int32, err error)

FindObjectByIdInSameStationOneWayWithContext is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectByIdInSameStationWithContext

func (obj *QueryF) FindObjectByIdInSameStationWithContext(ksfCtx context.Context, id string, sStation string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF, opts ...map[string]string) (ret int32, err error)

FindObjectByIdInSameStationWithContext is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectByIdOneWayWithContext

func (obj *QueryF) FindObjectByIdOneWayWithContext(ksfCtx context.Context, id string, opts ...map[string]string) (ret []endpointf.EndpointF, err error)

FindObjectByIdOneWayWithContext is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) FindObjectByIdWithContext

func (obj *QueryF) FindObjectByIdWithContext(ksfCtx context.Context, id string, opts ...map[string]string) (ret []endpointf.EndpointF, err error)

FindObjectByIdWithContext is the proxy function for the method defined in the ksf file, with the context

func (*QueryF) KsfSetProtocol

func (obj *QueryF) KsfSetProtocol(p m.Protocol)

KsfSetProtocol sets the protocol for the servant.

func (*QueryF) KsfSetTimeout

func (obj *QueryF) KsfSetTimeout(timeout int)

KsfSetTimeout sets the timeout for the servant which is in ms.

func (*QueryF) SetServant

func (obj *QueryF) SetServant(servant m.Servant)

SetServant sets servant for the service.

type QueryFServant

type QueryFServant interface {
	FindObjectById(id string) (ret []endpointf.EndpointF, err error)
	FindObjectById4Any(id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF) (ret int32, err error)
	FindObjectById4All(id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF) (ret int32, err error)
	FindObjectByIdInSameGroup(id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF) (ret int32, err error)
	FindObjectByIdInSameStation(id string, sStation string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF) (ret int32, err error)
	FindObjectByIdInSameSet(id string, setId string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF) (ret int32, err error)
}

type QueryFServantWithContext

type QueryFServantWithContext interface {
	FindObjectById(ksfCtx context.Context, id string) (ret []endpointf.EndpointF, err error)
	FindObjectById4Any(ksfCtx context.Context, id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF) (ret int32, err error)
	FindObjectById4All(ksfCtx context.Context, id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF) (ret int32, err error)
	FindObjectByIdInSameGroup(ksfCtx context.Context, id string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF) (ret int32, err error)
	FindObjectByIdInSameStation(ksfCtx context.Context, id string, sStation string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF) (ret int32, err error)
	FindObjectByIdInSameSet(ksfCtx context.Context, id string, setId string, activeEp *[]endpointf.EndpointF, inactiveEp *[]endpointf.EndpointF) (ret int32, err error)
}

Jump to

Keyboard shortcuts

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