webphone
Class SIPNotification.Log

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

public static class SIPNotification.Log
extends SIPNotification

LOG notification.
Triggered by: logs (only if you set the "events" parameter to 3 and also depends on the "loglevel")
Event: SIPNotificationListener.onLog
Fields: LOG,TYPE,txt


Field Summary
static intTYPE_CRITICAL
          critical error
static intTYPE_ERROR
          error
static intTYPE_EVENT
          event
static intTYPE_RTP
          RTP details at the end of the call.
static intTYPE_UNKNOWN
          unrecognizable log type
static intTYPE_WARNING
          warning
 
Method Summary
 java.lang.StringgetText()
          event text: the actual message as string
 intgetType()
          event type (TYPE_...
 java.lang.StringgetTypeText()
          event type as string
 
Methods inherited from class webphone.SIPNotification
getNotificationType, toString
  

Field Detail

TYPE_EVENT

public static final int TYPE_EVENT
event

See Also:
Constant Field Values

TYPE_WARNING

public static final int TYPE_WARNING
warning

See Also:
Constant Field Values

TYPE_ERROR

public static final int TYPE_ERROR
error

See Also:
Constant Field Values

TYPE_CRITICAL

public static final int TYPE_CRITICAL
critical error

See Also:
Constant Field Values

TYPE_RTP

public static final int TYPE_RTP
RTP details at the end of the call. Example: RTP: sent 15695 lasts: 0 (p2p: 0 sdp: 0 rrp: 15695 tnl: 15701), rec: 17281 lastr: 0, loss: 201 1%, vsent: 0/0, vrecv: 0/0, cpu: 0.0%, cpurel: 0.0% (0.0), srvsent: 10326 srvrec: 10302 srvloss: 10 0%

See Also:
Constant Field Values

TYPE_UNKNOWN

public static final int TYPE_UNKNOWN
unrecognizable log type

See Also:
Constant Field Values
 
Method Detail

getType

public int getType()
event type (TYPE_... constant)


getTypeText

public java.lang.String getTypeText()
event type as string


getText

public java.lang.String getText()
event text: the actual message as string