An endpoint which is the basis for all communication with the Group Chat server. This endpoint represents a single connection to a single group chat server, using an existing LocalEndpointinstance.
The GroupChatEndpointtype exposes the following members.
Constructors
Name | Description | |
---|---|---|
GroupChatEndpoint(Uri, LocalEndpoint) | Initializes a new instance of the GroupChatEndpoint class. | |
GroupChatEndpoint(Uri, LocalEndpoint, String) | Initializes a new instance of the GroupChatEndpoint class for use by ASP.NET web applications in which the logging options can be configured through a web.config file. |
Properties
Name | Description | |
---|---|---|
ActiveChatRoomSessions | Gets a copy of the collection of currently active ChatRoomSession instances. Only those sessions which have successfully joined a chat room are included in the collection of ActiveChatRoomSessions . This property returns copy of the endpoint's collection. To access a single active ChatRoomSession by name, without incurring this overhead, use the indexer (see Item [ ( [ ( String ] ) ] ) ). | |
GroupChatServices | An object which provides access to a wide variety of group chat features and services. All administrative functionality and client services, with the exception of establishing a ChatRoomSession , are exposed through this object. | |
InnerEndpoint | Gets the inner endpoint which provides a conduit for delivery of messages between this client and the group chat servers. | |
Item [ ( [ ( String ] ) ] ) | Gets an active ChatRoomSession with the specified name. The name is not case sensitive. | |
Item [ ( [ ( Uri ] ) ] ) | Gets an active ChatRoomSession with the specified URI. | |
State | Gets a value indicating whether this endpoint is connected to a Group Chat server. |
Methods
Name | Description | |
---|---|---|
BeginEstablish | Establish a connection with the Group Chat server. | |
BeginTerminate | Terminate an established connection with the Group Chat server, and clean up all resources associated with the connection. | |
EndEstablish | Completes the asynchronous request initiated by BeginEstablish(AsyncCallback, Object) . | |
EndTerminate | Completes the asynchronous request initiated by BeginTerminate(AsyncCallback, Object) . | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
ChatRoomInvitationReceived | Occurs when a chat room invitation is received. | |
ConnectionStateChanged | Occurs when the connection state of this endpoint changes. |