Class ZoneLogReceiver
Client for glued contract Azos.Sky.Contracts.IZoneLogReceiver 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
ZoneLogReceiver
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 ZoneLogReceiver : ClientEndPoint, IZoneLogReceiverClient, ISkyServiceClient, IDisposable, IZoneLogReceiver, ISkyService
Constructors
ZoneLogReceiver(IGlue, Node, Binding)
Declaration
public ZoneLogReceiver(IGlue glue, Node node, Binding binding = null)
Parameters
ZoneLogReceiver(IGlue, String, Binding)
Declaration
public ZoneLogReceiver(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
Async_SendLog(String, String, Message[])
Asynchronous invoker for 'Azos.Sky.Contracts.IZoneLogReceiver.SendLog'.
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_SendLog(string host, string appName, Message[] data)
Parameters
Type |
Name |
Description |
System.String |
host |
|
System.String |
appName |
|
Message[] |
data |
|
Returns
SendLog(String, String, Message[])
Synchronous invoker for 'Azos.Sky.Contracts.IZoneLogReceiver.SendLog'.
This is a two-way call per contract specification, meaning - the server sends the result back either
returning '@System.@Int32' 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 int SendLog(string host, string appName, Message[] data)
Parameters
Type |
Name |
Description |
System.String |
host |
|
System.String |
appName |
|
Message[] |
data |
|
Returns
Type |
Description |
System.Int32 |
|
Implements
System.IDisposable
Extension Methods