Table of Contents

Class AgentRpc

Namespace
Microsoft.AutoGen.Protobuf
Assembly
Microsoft.AutoGen.Core.Grpc.dll
public static class AgentRpc
Inheritance
AgentRpc
Inherited Members

Properties

Descriptor

Service descriptor

public static ServiceDescriptor Descriptor { get; }

Property Value

ServiceDescriptor

Methods

BindService(ServiceBinderBase, AgentRpcBase)

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.

public static void BindService(ServiceBinderBase serviceBinder, AgentRpc.AgentRpcBase serviceImpl)

Parameters

serviceBinder ServiceBinderBase

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

serviceImpl AgentRpc.AgentRpcBase

An object implementing the server-side handling logic.

BindService(AgentRpcBase)

Creates service definition that can be registered with a server

public static ServerServiceDefinition BindService(AgentRpc.AgentRpcBase serviceImpl)

Parameters

serviceImpl AgentRpc.AgentRpcBase

An object implementing the server-side handling logic.

Returns

ServerServiceDefinition