webphone
Class SIPNotification.Chat

java.lang.Object
  extended by webphone.SIPNotification
      extended by webphone.SIPNotification.Chat
Enclosing class:
SIPNotification

public static class SIPNotification.Chat
extends SIPNotification

CHAT notification.
Triggered by: incoming chat messages
Event: SIPNotificationListener.onChat
Fields: CHAT,line,peername,text


Method Summary
 java.lang.StringgetGroup()
          group name (only for multi-user/group messages)
 intgetLine()
          endpoint line
 java.lang.StringgetMsg()
          chat text
 intgetMultiparCurrent()
          multipart current fragment (only for 3gpp multipart messages)
 intgetMultiparTotal()
          multipart total fragments (only for 3gpp multipart messages)
 java.lang.StringgetPeer()
          peer username
 java.lang.StringgetText()
          the message body as-is
 
Methods inherited from class webphone.SIPNotification
getNotificationType, toString
   

Method Detail

getLine

public int getLine()
endpoint line


getPeer

public java.lang.String getPeer()
peer username


getText

public java.lang.String getText()
the message body as-is


getMsg

public java.lang.String getMsg()
chat text


getGroup

public java.lang.String getGroup()
group name (only for multi-user/group messages)


getMultiparCurrent

public int getMultiparCurrent()
multipart current fragment (only for 3gpp multipart messages)


getMultiparTotal

public int getMultiparTotal()
multipart total fragments (only for 3gpp multipart messages)