org.apache.geronimo.network.protocol
Class LossyProtocol

java.lang.Object
  extended byorg.apache.geronimo.network.protocol.AbstractProtocol
      extended byorg.apache.geronimo.network.protocol.LossyProtocol
All Implemented Interfaces:
Cloneable, Protocol

public class LossyProtocol
extends AbstractProtocol

Version:
$Revision: 1.5 $ $Date: 2004/08/01 13:03:43 $

Constructor Summary
LossyProtocol()
           
 
Method Summary
 void drain()
           
 void flush()
           
 float getDownLoss()
           
 float getUpLoss()
           
 void sendDown(DownPacket packet)
           
 void sendUp(UpPacket packet)
           
 void setDownLoss(float downLoss)
           
 void setup()
           
 void setUpLoss(float upLoss)
           
 void teardown()
           
 
Methods inherited from class org.apache.geronimo.network.protocol.AbstractProtocol
clearLinks, cloneProtocol, getDownProtocol, getUpProtocol, setDownProtocol, setUpProtocol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LossyProtocol

public LossyProtocol()
Method Detail

getUpLoss

public float getUpLoss()

setUpLoss

public void setUpLoss(float upLoss)

getDownLoss

public float getDownLoss()

setDownLoss

public void setDownLoss(float downLoss)

setup

public void setup()
           throws ProtocolException
Throws:
ProtocolException

drain

public void drain()
           throws ProtocolException
Throws:
ProtocolException

teardown

public void teardown()
              throws ProtocolException
Throws:
ProtocolException

sendUp

public void sendUp(UpPacket packet)
            throws ProtocolException
Throws:
ProtocolException

sendDown

public void sendDown(DownPacket packet)
              throws ProtocolException
Throws:
ProtocolException

flush

public void flush()
           throws ProtocolException
Throws:
ProtocolException


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.