Sphyrnidae Common Library  2.0.1
Shared Utilities/Library
Sphyrnidae.Common.SignalR.SignalR Class Reference

More...

Inheritance diagram for Sphyrnidae.Common.SignalR.SignalR:
Sphyrnidae.Common.SignalR.ISignalR

Public Member Functions

async Task< bool > Send (string url, string method)
 Sends a message to the SignalR Hub More...
 
async Task< bool > Send (string url, string method, object arg1)
 Sends a message to the SignalR Hub More...
 
async Task< bool > Send (string url, string method, object arg1, object arg2)
 Sends a message to the SignalR Hub More...
 
async Task< bool > Send (string url, string method, object arg1, object arg2, object arg3)
 Sends a message to the SignalR Hub More...
 
async Task< bool > Send (string url, string method, object arg1, object arg2, object arg3, object arg4)
 Sends a message to the SignalR Hub More...
 
async Task< bool > Send (string url, string method, object arg1, object arg2, object arg3, object arg4, object arg5)
 Sends a message to the SignalR Hub More...
 
async Task< bool > Send (string url, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
 Sends a message to the SignalR Hub More...
 
async Task< bool > Send (string url, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7)
 Sends a message to the SignalR Hub More...
 
async Task< bool > Send (string url, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8)
 Sends a message to the SignalR Hub More...
 
Task Receive (string url, string context, Action method)
 Receives a message More...
 
Task Receive< T > (string url, string context, Action< T > method)
 Receives a message More...
 
Task Receive< T1, T2 > (string url, string context, Action< T1, T2 > method)
 Receives a message More...
 
Task Receive< T1, T2, T3 > (string url, string context, Action< T1, T2, T3 > method)
 Receives a message More...
 
Task Receive< T1, T2, T3, T4 > (string url, string context, Action< T1, T2, T3, T4 > method)
 Receives a message More...
 
Task Receive< T1, T2, T3, T4, T5 > (string url, string context, Action< T1, T2, T3, T4, T5 > method)
 Receives a message More...
 
Task Receive< T1, T2, T3, T4, T5, T6 > (string url, string context, Action< T1, T2, T3, T4, T5, T6 > method)
 Receives a message More...
 
Task Receive< T1, T2, T3, T4, T5, T6, T7 > (string url, string context, Action< T1, T2, T3, T4, T5, T6, T7 > method)
 Receives a message More...
 
Task Receive< T1, T2, T3, T4, T5, T6, T7, T8 > (string url, string context, Action< T1, T2, T3, T4, T5, T6, T7, T8 > method)
 Receives a message More...
 

Static Public Member Functions

static void SetLogger (Action< string > strLogger, Action< Exception > exLogger)
 

Protected Member Functions

void LogStr (string message)
 
void LogEx (Exception ex)
 

Detailed Description

Member Function Documentation

◆ LogEx()

void Sphyrnidae.Common.SignalR.SignalR.LogEx ( Exception  ex)
protected

◆ LogStr()

void Sphyrnidae.Common.SignalR.SignalR.LogStr ( string  message)
protected

◆ Receive()

Task Sphyrnidae.Common.SignalR.SignalR.Receive ( string  url,
string  context,
Action  method 
)

Receives a message

Parameters
urlThe name of the url to the hub
contextThe name of the context that was invoked
methodA function to execute upon being called

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Receive< T >()

Task Sphyrnidae.Common.SignalR.SignalR.Receive< T > ( string  url,
string  context,
Action< T >  method 
)

Receives a message

Template Parameters
TThe type of 1st parameter
Parameters
urlThe name of the url to the hub
contextThe name of the context that was invoked
methodA function to execute upon being called

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Receive< T1, T2 >()

Task Sphyrnidae.Common.SignalR.SignalR.Receive< T1, T2 > ( string  url,
string  context,
Action< T1, T2 >  method 
)

Receives a message

Template Parameters
T1The type of 1st parameter
T2The type of 2nd parameter
Parameters
urlThe name of the url to the hub
contextThe name of the context that was invoked
methodA function to execute upon being called

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Receive< T1, T2, T3 >()

Task Sphyrnidae.Common.SignalR.SignalR.Receive< T1, T2, T3 > ( string  url,
string  context,
Action< T1, T2, T3 >  method 
)

Receives a message

Template Parameters
T1The type of 1st parameter
T2The type of 2nd parameter
T3The type of 3rd parameter
Parameters
urlThe name of the url to the hub
contextThe name of the context that was invoked
methodA function to execute upon being called

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Receive< T1, T2, T3, T4 >()

Task Sphyrnidae.Common.SignalR.SignalR.Receive< T1, T2, T3, T4 > ( string  url,
string  context,
Action< T1, T2, T3, T4 >  method 
)

Receives a message

Template Parameters
T1The type of 1st parameter
T2The type of 2nd parameter
T3The type of 3rd parameter
T4The type of 4th parameter
Parameters
urlThe name of the url to the hub
contextThe name of the context that was invoked
methodA function to execute upon being called

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Receive< T1, T2, T3, T4, T5 >()

Task Sphyrnidae.Common.SignalR.SignalR.Receive< T1, T2, T3, T4, T5 > ( string  url,
string  context,
Action< T1, T2, T3, T4, T5 >  method 
)

Receives a message

Template Parameters
T1The type of 1st parameter
T2The type of 2nd parameter
T3The type of 3rd parameter
T4The type of 4th parameter
T5The type of 5th parameter
Parameters
urlThe name of the url to the hub
contextThe name of the context that was invoked
methodA function to execute upon being called

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Receive< T1, T2, T3, T4, T5, T6 >()

Task Sphyrnidae.Common.SignalR.SignalR.Receive< T1, T2, T3, T4, T5, T6 > ( string  url,
string  context,
Action< T1, T2, T3, T4, T5, T6 >  method 
)

Receives a message

Template Parameters
T1The type of 1st parameter
T2The type of 2nd parameter
T3The type of 3rd parameter
T4The type of 4th parameter
T5The type of 5th parameter
T6The type of 6th parameter
Parameters
urlThe name of the url to the hub
contextThe name of the context that was invoked
methodA function to execute upon being called

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Receive< T1, T2, T3, T4, T5, T6, T7 >()

Task Sphyrnidae.Common.SignalR.SignalR.Receive< T1, T2, T3, T4, T5, T6, T7 > ( string  url,
string  context,
Action< T1, T2, T3, T4, T5, T6, T7 >  method 
)

Receives a message

Template Parameters
T1The type of 1st parameter
T2The type of 2nd parameter
T3The type of 3rd parameter
T4The type of 4th parameter
T5The type of 5th parameter
T6The type of 6th parameter
T7The type of 7th parameter
Parameters
urlThe name of the url to the hub
contextThe name of the context that was invoked
methodA function to execute upon being called

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Receive< T1, T2, T3, T4, T5, T6, T7, T8 >()

Task Sphyrnidae.Common.SignalR.SignalR.Receive< T1, T2, T3, T4, T5, T6, T7, T8 > ( string  url,
string  context,
Action< T1, T2, T3, T4, T5, T6, T7, T8 >  method 
)

Receives a message

Template Parameters
T1The type of 1st parameter
T2The type of 2nd parameter
T3The type of 3rd parameter
T4The type of 4th parameter
T5The type of 5th parameter
T6The type of 6th parameter
T7The type of 7th parameter
T8The type of 8th parameter
Parameters
urlThe name of the url to the hub
contextThe name of the context that was invoked
methodA function to execute upon being called

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Send() [1/9]

async Task<bool> Sphyrnidae.Common.SignalR.SignalR.Send ( string  url,
string  method 
)

Sends a message to the SignalR Hub

Parameters
urlThe name of the url to the hub
methodThe name of the method inside the hub to invoke
Returns
True if the message was sent asynchronously (no guarantee of delivery)

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Send() [2/9]

async Task<bool> Sphyrnidae.Common.SignalR.SignalR.Send ( string  url,
string  method,
object  arg1 
)

Sends a message to the SignalR Hub

Parameters
urlThe name of the url to the hub
methodThe name of the method inside the hub to invoke
arg1The 1st argument (Optional)
Returns
True if the message was sent asynchronously (no guarantee of delivery)

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Send() [3/9]

async Task<bool> Sphyrnidae.Common.SignalR.SignalR.Send ( string  url,
string  method,
object  arg1,
object  arg2 
)

Sends a message to the SignalR Hub

Parameters
urlThe name of the url to the hub
methodThe name of the method inside the hub to invoke
arg1The 1st argument (Optional)
arg2The 2nd argument (Optional)
Returns
True if the message was sent asynchronously (no guarantee of delivery)

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Send() [4/9]

async Task<bool> Sphyrnidae.Common.SignalR.SignalR.Send ( string  url,
string  method,
object  arg1,
object  arg2,
object  arg3 
)

Sends a message to the SignalR Hub

Parameters
urlThe name of the url to the hub
methodThe name of the method inside the hub to invoke
arg1The 1st argument (Optional)
arg2The 2nd argument (Optional)
arg3The 3rd argument (Optional)
Returns
True if the message was sent asynchronously (no guarantee of delivery)

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Send() [5/9]

async Task<bool> Sphyrnidae.Common.SignalR.SignalR.Send ( string  url,
string  method,
object  arg1,
object  arg2,
object  arg3,
object  arg4 
)

Sends a message to the SignalR Hub

Parameters
urlThe name of the url to the hub
methodThe name of the method inside the hub to invoke
arg1The 1st argument (Optional)
arg2The 2nd argument (Optional)
arg3The 3rd argument (Optional)
arg4The 4th argument (Optional)
Returns
True if the message was sent asynchronously (no guarantee of delivery)

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Send() [6/9]

async Task<bool> Sphyrnidae.Common.SignalR.SignalR.Send ( string  url,
string  method,
object  arg1,
object  arg2,
object  arg3,
object  arg4,
object  arg5 
)

Sends a message to the SignalR Hub

Parameters
urlThe name of the url to the hub
methodThe name of the method inside the hub to invoke
arg1The 1st argument (Optional)
arg2The 2nd argument (Optional)
arg3The 3rd argument (Optional)
arg4The 4th argument (Optional)
arg5The 5th argument (Optional)
Returns
True if the message was sent asynchronously (no guarantee of delivery)

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Send() [7/9]

async Task<bool> Sphyrnidae.Common.SignalR.SignalR.Send ( string  url,
string  method,
object  arg1,
object  arg2,
object  arg3,
object  arg4,
object  arg5,
object  arg6 
)

Sends a message to the SignalR Hub

Parameters
urlThe name of the url to the hub
methodThe name of the method inside the hub to invoke
arg1The 1st argument (Optional)
arg2The 2nd argument (Optional)
arg3The 3rd argument (Optional)
arg4The 4th argument (Optional)
arg5The 5th argument (Optional)
arg6The 6th argument (Optional)
Returns
True if the message was sent asynchronously (no guarantee of delivery)

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Send() [8/9]

async Task<bool> Sphyrnidae.Common.SignalR.SignalR.Send ( string  url,
string  method,
object  arg1,
object  arg2,
object  arg3,
object  arg4,
object  arg5,
object  arg6,
object  arg7 
)

Sends a message to the SignalR Hub

Parameters
urlThe name of the url to the hub
methodThe name of the method inside the hub to invoke
arg1The 1st argument (Optional)
arg2The 2nd argument (Optional)
arg3The 3rd argument (Optional)
arg4The 4th argument (Optional)
arg5The 5th argument (Optional)
arg6The 6th argument (Optional)
arg7The 7th argument (Optional)
Returns
True if the message was sent asynchronously (no guarantee of delivery)

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ Send() [9/9]

async Task<bool> Sphyrnidae.Common.SignalR.SignalR.Send ( string  url,
string  method,
object  arg1,
object  arg2,
object  arg3,
object  arg4,
object  arg5,
object  arg6,
object  arg7,
object  arg8 
)

Sends a message to the SignalR Hub

Parameters
urlThe name of the url to the hub
methodThe name of the method inside the hub to invoke
arg1The 1st argument (Optional)
arg2The 2nd argument (Optional)
arg3The 3rd argument (Optional)
arg4The 4th argument (Optional)
arg5The 5th argument (Optional)
arg6The 6th argument (Optional)
arg7The 7th argument (Optional)
arg8The 8th argument (Optional)
Returns
True if the message was sent asynchronously (no guarantee of delivery)

Implements Sphyrnidae.Common.SignalR.ISignalR.

◆ SetLogger()

static void Sphyrnidae.Common.SignalR.SignalR.SetLogger ( Action< string >  strLogger,
Action< Exception >  exLogger 
)
static

The documentation for this class was generated from the following file: