Method | Description | |
---|---|---|
ChatSessionViewModel ( |
||
OnChatState ( agsXMPP chatState ) : void | ||
OnMessage ( |
Called when our account receives a message for us. Locks our messages in case we try to send one at the same time.
|
|
SendMessage ( ) : void |
Send a message to our target
|
|
TrySendMessage ( System.Windows.Input.KeyEventArgs keyArgs ) : void |
Used for 'Enter' keypress. Can't use SendMessage, because CanSendMessage returns false, disabling the textbox, and locking us out.
|
public ChatSessionViewModel ( |
||
account | ||
target | ||
return | System |
public OnChatState ( agsXMPP chatState ) : void | ||
chatState | agsXMPP | |
return | void |
public OnMessage ( |
||
message | The messages received from target | |
return | void |
public TrySendMessage ( System.Windows.Input.KeyEventArgs keyArgs ) : void | ||
keyArgs | System.Windows.Input.KeyEventArgs | |
return | void |