ch.claudio.iax2
Class QueueElement

java.lang.Object
  extended by ch.claudio.iax2.QueueElement

public class QueueElement
extends java.lang.Object

Version:
$Id: QueueElement.java 148 2006-09-14 20:52:32Z claudio $
Author:
Claudio Nieder

Copyright (C) 2006 Claudio Nieder <private@claudio.ch>, CH-8610 Uster

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA


Constructor Summary
QueueElement(java.net.DatagramPacket packetArg, long waitTimeArg)
           
 
Method Summary
 long getLastSent()
           
 java.net.DatagramPacket getPacket()
           
 long getWaitTime()
           
static void main(java.lang.String[] args)
          Print license.
 void setLastSent(long lastSentArg)
           
 void setWaitTime(long waitTimeArg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueElement

public QueueElement(java.net.DatagramPacket packetArg,
                    long waitTimeArg)
Parameters:
waitTimeArg -
packetArg -
Method Detail

getLastSent

public long getLastSent()
Returns:
the lastSent

setLastSent

public void setLastSent(long lastSentArg)
Parameters:
lastSentArg - the lastSent to set

getWaitTime

public long getWaitTime()
Returns:
the waitTime

setWaitTime

public void setWaitTime(long waitTimeArg)
Parameters:
waitTimeArg - the waitTime to set

getPacket

public java.net.DatagramPacket getPacket()
Returns:
the packet

main

public static void main(java.lang.String[] args)
Print license.

Parameters:
args - ignored