Chronicle v1 API - Class InstanceService (1.0.0-beta02)

public static class InstanceService

Reference documentation and code samples for the Chronicle v1 API class InstanceService.

InstanceService provides the entry interface for the Chronicle API.

Inheritance

object > InstanceService

Namespace

Google.Cloud.Chronicle.V1

Assembly

Google.Cloud.Chronicle.V1.dll

Methods

BindService(InstanceServiceBase)

public static ServerServiceDefinition BindService(InstanceService.InstanceServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
Name Description
serviceImpl InstanceServiceInstanceServiceBase

An object implementing the server-side handling logic.

Returns
Type Description
ServerServiceDefinition

BindService(ServiceBinderBase, InstanceServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, InstanceService.InstanceServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
Name Description
serviceBinder ServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImpl InstanceServiceInstanceServiceBase

An object implementing the server-side handling logic.