PersistentChatEndpoint members

An endpoint which is the basis for all communication with the Persistent Chat server. This endpoint represents a single connection to a single persistent chat server, using an existing LocalEndpoint instance. This endpoint encapsulates references to all active ChatRoomSession instances to which the user has joined, and provides a access to a variety of management services, functionality for browsing the catalog of available chat rooms, and methods for reviewing chat history. (See PersistentChatServices)

The PersistentChatEndpoint type exposes the following members.

  Name Description
Public method PersistentChatEndpoint Initializes a new instance of the PersistentChatEndpoint class.
Top

  Name Description
Public property 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]).
Public property InnerEndpoint Gets the inner endpoint which provides a conduit for delivery of messages between this client and the persistent chat servers.
Public property Item[String] Gets an active ChatRoomSession with the specified name. The name is not case sensitive.
Public property Item[Uri] Gets an active ChatRoomSession with the specified URI.
Public property PersistentChatServices An object which provides access to a wide variety of persistent chat features and services. All administrative functionality and client services, with the exception of establishing a ChatRoomSession, are exposed through this object.
Public property State Gets a value indicating whether this endpoint is connected to a Persistent Chat server.
Top

  Name Description
Public method BeginEstablish Establish a connection with the Persistent Chat server. This request will be processed asynchronously. See EndEstablish(IAsyncResult) to complete this asynchronous operation.
Public method BeginTerminate Terminate an established connection with the Persistent Chat server, and clean up all resources associated with the connection. This request will be processed asynchronously. See EndTerminate(IAsyncResult) to complete this asynchronous operation.
Public method EndEstablish Completes the asynchronous request initiated by BeginEstablish(AsyncCallback, Object)
Public method EndTerminate Completes the asynchronous request initiated by BeginTerminate(AsyncCallback, Object)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top

  Name Description
Public event ChatRoomInvitationReceived Occurs when a chat room invitation is received.
Public event ConnectionStateChanged Occurs when the connection state of this endpoint changes.
Top
Show:
© 2014 Microsoft