C# Class CreatingObservables.Chat.ChatClient

显示文件 Open project: tamirdresher/RxInAction Class Usage Examples

Public Methods

Method Description
Connect ( string user, string password ) : IChatConnection
NotifyClosed ( ) : void
NotifyError ( ) : void
NotifyRecieved ( string msg ) : void
ObserveMessages ( string user, string password ) : IObservable
ObserveMessagesDeferred ( string user, string password ) : IObservable

Method Details

Connect() public method

public Connect ( string user, string password ) : IChatConnection
user string
password string
return IChatConnection

NotifyClosed() public method

public NotifyClosed ( ) : void
return void

NotifyError() public method

public NotifyError ( ) : void
return void

NotifyRecieved() public method

public NotifyRecieved ( string msg ) : void
msg string
return void

ObserveMessages() public method

public ObserveMessages ( string user, string password ) : IObservable
user string
password string
return IObservable

ObserveMessagesDeferred() public method

public ObserveMessagesDeferred ( string user, string password ) : IObservable
user string
password string
return IObservable