com.headissue.jtapi.examples
Class PhoneProtocol.LogEntry

java.lang.Object
  extended by com.headissue.jtapi.examples.PhoneProtocol.LogEntry
Enclosing class:
PhoneProtocol

public static class PhoneProtocol.LogEntry
extends java.lang.Object


Field Summary
(package private)  long alertStamp
           
(package private)  long answeredStamp
           
(package private)  javax.telephony.callcontrol.CallControlCall call
           
(package private)  javax.telephony.Connection connectedConnection1
           
(package private)  java.lang.String connectedTerminal
           
(package private)  long createdStamp
           
(package private)  boolean directionSet
           
(package private)  long hangupStamp
           
(package private)  boolean incomingCall
           
(package private)  java.lang.String localAddress
           
(package private)  java.lang.String remoteAddress
           
 
Constructor Summary
PhoneProtocol.LogEntry(javax.telephony.Call _call)
           
 
Method Summary
(package private)  void alert(javax.telephony.ConnectionEvent event)
          Record that the call alerted
(package private)  void checkFill()
          Depending on the events we get, we might already have filled in some data.
 java.lang.String clockStamp(long _stamp)
           
(package private)  void connected(javax.telephony.ConnectionEvent event)
          Record that the call is established
(package private)  void created(javax.telephony.ConnectionEvent event)
           
(package private) static java.lang.String fill(java.lang.String s, java.lang.String _pattern)
          Primitive for leading 0 or spaces.
 java.lang.String getLogInformation()
           
(package private)  void hangup()
          All connections finished
(package private)  void progress(javax.telephony.ConnectionEvent event)
           
(package private)  void terminalActive(javax.telephony.TerminalConnectionEvent ev)
           
 java.lang.String timeStamp(long _stamp)
          Print a timestamp to the output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

call

javax.telephony.callcontrol.CallControlCall call

directionSet

boolean directionSet

incomingCall

boolean incomingCall

remoteAddress

java.lang.String remoteAddress

localAddress

java.lang.String localAddress

connectedTerminal

java.lang.String connectedTerminal

connectedConnection1

javax.telephony.Connection connectedConnection1

createdStamp

long createdStamp

alertStamp

long alertStamp

answeredStamp

long answeredStamp

hangupStamp

long hangupStamp
Constructor Detail

PhoneProtocol.LogEntry

PhoneProtocol.LogEntry(javax.telephony.Call _call)
Method Detail

checkFill

void checkFill()
Depending on the events we get, we might already have filled in some data.


terminalActive

void terminalActive(javax.telephony.TerminalConnectionEvent ev)

created

void created(javax.telephony.ConnectionEvent event)

progress

void progress(javax.telephony.ConnectionEvent event)

alert

void alert(javax.telephony.ConnectionEvent event)
Record that the call alerted


connected

void connected(javax.telephony.ConnectionEvent event)
Record that the call is established


hangup

void hangup()
All connections finished


fill

static java.lang.String fill(java.lang.String s,
                             java.lang.String _pattern)
Primitive for leading 0 or spaces. Extend string to the length of _pattern by adding the first charactes of _pattern to it. E.g. a fill(num,"00") produces a two digit number. Only works for s.length<=_pattern.length.


clockStamp

public java.lang.String clockStamp(long _stamp)

timeStamp

public java.lang.String timeStamp(long _stamp)
Print a timestamp to the output.


getLogInformation

public java.lang.String getLogInformation()


Copyright 2006 headissue GmbH. All Rights Reserved.