C# Class SignalR.Hubs.ClientAgent

Inheritance: System.Dynamic.DynamicObject, IClientAgent, IGroupManager
Afficher le fichier Open project: ayende/SignalR Class Usage Examples

Méthodes publiques

Méthode Description
AddToGroup ( string clientId, string groupName ) : System.Threading.Tasks.Task
ClientAgent ( IConnection connection, string hubName ) : System.Dynamic
Invoke ( IConnection connection, string signal, string hubName, string method, object args ) : System.Threading.Tasks.Task
Invoke ( string method ) : System.Threading.Tasks.Task
RemoveFromGroup ( string clientId, string groupName ) : System.Threading.Tasks.Task
TryGetMember ( GetMemberBinder binder, object &result ) : bool
TryInvokeMember ( InvokeMemberBinder binder, object args, object &result ) : bool
this ( string key ) : dynamic

Private Methods

Méthode Description
SendCommand ( string clientId, CommandType commandType, object commandValue ) : System.Threading.Tasks.Task

Method Details

AddToGroup() public méthode

public AddToGroup ( string clientId, string groupName ) : System.Threading.Tasks.Task
clientId string
groupName string
Résultat System.Threading.Tasks.Task

ClientAgent() public méthode

public ClientAgent ( IConnection connection, string hubName ) : System.Dynamic
connection IConnection
hubName string
Résultat System.Dynamic

Invoke() public static méthode

public static Invoke ( IConnection connection, string signal, string hubName, string method, object args ) : System.Threading.Tasks.Task
connection IConnection
signal string
hubName string
method string
args object
Résultat System.Threading.Tasks.Task

Invoke() public méthode

public Invoke ( string method ) : System.Threading.Tasks.Task
method string
Résultat System.Threading.Tasks.Task

RemoveFromGroup() public méthode

public RemoveFromGroup ( string clientId, string groupName ) : System.Threading.Tasks.Task
clientId string
groupName string
Résultat System.Threading.Tasks.Task

TryGetMember() public méthode

public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder
result object
Résultat bool

TryInvokeMember() public méthode

public TryInvokeMember ( InvokeMemberBinder binder, object args, object &result ) : bool
binder System.Dynamic.InvokeMemberBinder
args object
result object
Résultat bool

this() public méthode

public this ( string key ) : dynamic
key string
Résultat dynamic