Connection Class
.NET Framework 4
Inheritance Hierarchy
System.Object
Microsoft.AspNet.SignalR.Infrastructure.Connection
Namespace: Microsoft.AspNet.SignalR.Infrastructure
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Class Connection _
Implements IConnection, ITransportConnection, ISubscriber
'Usage
Dim instance As Connection
public class Connection : IConnection, ITransportConnection,
ISubscriber
public ref class Connection : IConnection,
ITransportConnection, ISubscriber
type Connection =
class
interface IConnection
interface ITransportConnection
interface ISubscriber
end
public class Connection implements IConnection, ITransportConnection, ISubscriber
The Connection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Connection |
Top
Properties
Name | Description | |
---|---|---|
DefaultSignal | ||
GetCursor | ||
Identity |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Receive(String, Func<PersistentResponse, Task<Boolean>>, Int32) | ||
Receive(String, CancellationToken, Int32) | ||
Send | ||
ToString | (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
EventKeyAdded | ||
EventKeyRemoved |
Top
Extension Methods
Name | Description | |
---|---|---|
Broadcast | Broadcasts a value to all connections, excluding the connection ids specified. (Defined by ConnectionExtensions.) | |
Send | Sends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id, or fully qualified group name (Use IGroupManager to manipulate groups). (Defined by ConnectionExtensions.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ISubscriber.EventKeys |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.