C# Class SignalR.Hosting.Self.Samples.Program.MyConnection

Inheritance: PersistentConnection
显示文件 Open project: Icenium/SignalR

Protected Methods

Method Description
OnConnectedAsync ( IRequest request, string connectionId ) : System.Threading.Tasks.Task
OnDisconnectAsync ( string connectionId ) : System.Threading.Tasks.Task
OnReceivedAsync ( IRequest request, string connectionId, string data ) : System.Threading.Tasks.Task
OnRejoiningGroups ( IRequest request, IEnumerable groups, string connectionId ) : IEnumerable

Method Details

OnConnectedAsync() protected method

protected OnConnectedAsync ( IRequest request, string connectionId ) : System.Threading.Tasks.Task
request IRequest
connectionId string
return System.Threading.Tasks.Task

OnDisconnectAsync() protected method

protected OnDisconnectAsync ( string connectionId ) : System.Threading.Tasks.Task
connectionId string
return System.Threading.Tasks.Task

OnReceivedAsync() protected method

protected OnReceivedAsync ( IRequest request, string connectionId, string data ) : System.Threading.Tasks.Task
request IRequest
connectionId string
data string
return System.Threading.Tasks.Task

OnRejoiningGroups() protected method

protected OnRejoiningGroups ( IRequest request, IEnumerable groups, string connectionId ) : IEnumerable
request IRequest
groups IEnumerable
connectionId string
return IEnumerable