openr66.server
Class ChangeBandwidthLimits
java.lang.Object
openr66.server.ChangeBandwidthLimits
- All Implemented Interfaces:
- Runnable
public class ChangeBandwidthLimits
- extends Object
- implements Runnable
This command enables the dynamic change of bandwidth limitation.
It does not changed the valuesin the database but only dynamic values while the
server is running and until it is shutdown.
- Author:
- Frederic Bregier
Method Summary |
protected static boolean |
getParams(String[] args)
|
static void |
main(String[] args)
|
void |
run()
Prior to call this method, the pipeline and NetworkTransaction must have been initialized. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
future
protected final R66Future future
writeGlobalLimit
protected final long writeGlobalLimit
readGlobalLimit
protected final long readGlobalLimit
writeSessionLimit
protected final long writeSessionLimit
readSessionLimit
protected final long readSessionLimit
networkTransaction
protected final NetworkTransaction networkTransaction
swriteGlobalLimit
protected static long swriteGlobalLimit
sreadGlobalLimit
protected static long sreadGlobalLimit
swriteSessionLimit
protected static long swriteSessionLimit
sreadSessionLimit
protected static long sreadSessionLimit
ChangeBandwidthLimits
public ChangeBandwidthLimits(R66Future future,
long wgl,
long rgl,
long wsl,
long rsl,
NetworkTransaction networkTransaction)
run
public void run()
- Prior to call this method, the pipeline and NetworkTransaction must have been initialized.
It is the responsibility of the caller to finish all network resources.
- Specified by:
run
in interface Runnable
getParams
protected static boolean getParams(String[] args)
main
public static void main(String[] args)
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.