Class LogReceiver
Client for glued contract Azos.Sky.Contracts.ILogReceiver 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
LogReceiver
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 LogReceiver : ClientEndPoint, ILogReceiverClient, ISkyServiceClient, IDisposable, ILogReceiver, ISkyService
Constructors
LogReceiver(IGlue, Node, Binding)
Declaration
public LogReceiver(IGlue glue, Node node, Binding binding = null)
Parameters
LogReceiver(IGlue, String, Binding)
Declaration
public LogReceiver(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_GetByID(Guid, String)
Asynchronous invoker for 'Azos.Sky.Contracts.ILogReceiver.GetByID'.
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_GetByID(Guid id, string channel)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.String |
channel |
|
Returns
Async_List(String, DateTime, DateTime, Nullable<MessageType>, String, String, String, Nullable<Guid>, Int32)
Asynchronous invoker for 'Azos.Sky.Contracts.ILogReceiver.List'.
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_List(string archiveDimensionsFilter, DateTime startDate, DateTime endDate, MessageType? type, string host, string channel, string topic, Guid? relatedTo, int skipCount)
Parameters
Type |
Name |
Description |
System.String |
archiveDimensionsFilter |
|
System.DateTime |
startDate |
|
System.DateTime |
endDate |
|
System.Nullable<MessageType> |
type |
|
System.String |
host |
|
System.String |
channel |
|
System.String |
topic |
|
System.Nullable<System.Guid> |
relatedTo |
|
System.Int32 |
skipCount |
|
Returns
Async_SendLog(Message)
Asynchronous invoker for 'Azos.Sky.Contracts.ILogReceiver.SendLog'.
This is a one-way call per contract specification, meaning - the server sends no acknowledgement of this call receipt and
there is no result that server could return back to the caller.
CallSlot is returned that can be queried for CallStatus, ResponseMsg.
Declaration
public CallSlot Async_SendLog(Message data)
Parameters
Returns
GetByID(Guid, String)
Synchronous invoker for 'Azos.Sky.Contracts.ILogReceiver.GetByID'.
This is a two-way call per contract specification, meaning - the server sends the result back either
returning '@Azos@Log.@Message' 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 Message GetByID(Guid id, string channel)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.String |
channel |
|
Returns
List(String, DateTime, DateTime, Nullable<MessageType>, String, String, String, Nullable<Guid>, Int32)
Synchronous invoker for 'Azos.Sky.Contracts.ILogReceiver.List'.
This is a two-way call per contract specification, meaning - the server sends the result back either
returning '@System.@Collections.@Generic.@IEnumerable[@Azos.@Log.@Message]' 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 IEnumerable<Message> List(string archiveDimensionsFilter, DateTime startDate, DateTime endDate, MessageType? type, string host, string channel, string topic, Guid? relatedTo, int skipCount)
Parameters
Type |
Name |
Description |
System.String |
archiveDimensionsFilter |
|
System.DateTime |
startDate |
|
System.DateTime |
endDate |
|
System.Nullable<MessageType> |
type |
|
System.String |
host |
|
System.String |
channel |
|
System.String |
topic |
|
System.Nullable<System.Guid> |
relatedTo |
|
System.Int32 |
skipCount |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Message> |
|
SendLog(Message)
Synchronous invoker for 'Azos.Sky.Contracts.ILogReceiver.SendLog'.
This is a one-way call per contract specification, meaning - the server sends no acknowledgement of this call receipt and
there is no result that server could return back to the caller.
ClientCallException is thrown if the call could not be placed in the outgoing queue.
Declaration
public void SendLog(Message data)
Parameters
Implements
System.IDisposable
Extension Methods