Class GdidAuthority
Client for glued contract Azos.Sky.Contracts.IGDIDAuthority server.
Each contract method has synchronous and asynchronous versions, the later denoted by 'Async_' prefix.
May inject client-level inspectors here like so:
client.MsgInspectors.Register( new YOUR_CLIENT_INSPECTOR_TYPE());
Inheritance
System.Object
GdidAuthority
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Azos.Sky.dll
Syntax
public class GdidAuthority : ClientEndPoint, IGdidAuthorityClient, ISkyServiceClient, IDisposable, IGdidAuthority, ISkyService
Constructors
GdidAuthority(IGlue, Node, Binding)
Declaration
public GdidAuthority(IGlue glue, Node node, Binding binding = null)
Parameters
GdidAuthority(IGlue, String, Binding)
Declaration
public GdidAuthority(IGlue glue, string node, Binding binding = null)
Parameters
Type |
Name |
Description |
IGlue |
glue |
|
System.String |
node |
|
Binding |
binding |
|
Properties
Contract
Declaration
public override Type Contract { get; }
Property Value
Type |
Description |
System.Type |
|
Overrides
Methods
AllocateBlock(String, String, Int32, Nullable<UInt64>)
Synchronous invoker for 'Azos.Sky.Contracts.IGDIDAuthority.AllocateBlock'.
This is a two-way call per contract specification, meaning - the server sends the result back either
returning '@Azos.@Sky.@Contracts.@GDIDBlock' or WrappedExceptionData instance.
ClientCallException is thrown if the call could not be placed in the outgoing queue.
RemoteException is thrown if the server generated exception during method execution.
Declaration
public GdidBlock AllocateBlock(string scopeName, string sequenceName, int blockSize, ulong? vicinity)
Parameters
Type |
Name |
Description |
System.String |
scopeName |
|
System.String |
sequenceName |
|
System.Int32 |
blockSize |
|
System.Nullable<System.UInt64> |
vicinity |
|
Returns
Async_AllocateBlock(String, String, Int32, Nullable<UInt64>)
Asynchronous invoker for 'Azos.Sky.Contracts.IGDIDAuthority.AllocateBlock'.
This is a two-way call per contract specification, meaning - the server sends the result back either
returning no exception or WrappedExceptionData instance.
CallSlot is returned that can be queried for CallStatus, ResponseMsg and result.
Declaration
public CallSlot Async_AllocateBlock(string scopeName, string sequenceName, int blockSize, ulong? vicinity)
Parameters
Type |
Name |
Description |
System.String |
scopeName |
|
System.String |
sequenceName |
|
System.Int32 |
blockSize |
|
System.Nullable<System.UInt64> |
vicinity |
|
Returns
Implements
System.IDisposable
Extension Methods