Comments
This commit is contained in:
parent
ec8ee67745
commit
1fbbc512a7
@ -5,7 +5,7 @@ import java.util.HashMap;
|
||||
|
||||
|
||||
/**
|
||||
* Message abstraction class
|
||||
* Single Message Class
|
||||
*
|
||||
* @author C. Hölzl
|
||||
*/
|
||||
|
@ -8,6 +8,11 @@ import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Bundle of Messages Class
|
||||
*
|
||||
* @author C. Hölzl
|
||||
*/
|
||||
public class MessageBundle extends NetMessageAbstract {
|
||||
|
||||
public final List<Message> messageList;
|
||||
|
@ -4,6 +4,11 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Message abstraction class
|
||||
*
|
||||
* @author C. Hölzl
|
||||
*/
|
||||
public abstract class NetMessageAbstract implements NetMessageInterface {
|
||||
public final TYPE tpe;
|
||||
public final Integer src;
|
||||
|
@ -14,7 +14,7 @@ import java.util.concurrent.PriorityBlockingQueue;
|
||||
/**
|
||||
* NetEventHandler for BLUNDLER
|
||||
*
|
||||
* Groups Multiple messages into larger packets (and de-groups them on receive
|
||||
* Groups Multiple messages into larger packets (and de-groups them on receive)
|
||||
*
|
||||
* @author C. Hölzl
|
||||
*/
|
||||
|
@ -11,6 +11,16 @@ import java.util.concurrent.PriorityBlockingQueue;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
/**
|
||||
* NetEventHandler for Local Causal Broadcast
|
||||
*
|
||||
* DeliverIf: packet from queue satisfies LCB ordering
|
||||
*
|
||||
* Send: add dependencies to packet
|
||||
* Deliver: Add packet to received packet queue for DeliverIf
|
||||
*
|
||||
* @author C. Hölzl
|
||||
*/
|
||||
public class NetHandlerLCB extends NetEventHandlerAbstract {
|
||||
|
||||
private static Map<Integer, List<Integer>> causality;
|
||||
|
@ -43,7 +43,7 @@ public abstract class ParamDetector {
|
||||
NetManager.FD_MAX_TRIES = 10;
|
||||
NetManager.FD_WAIT = 1000;
|
||||
|
||||
NetManager.BUNDLE_SIZE = 2;
|
||||
NetManager.BUNDLE_SIZE = 100;
|
||||
NetManager.WINDOW_WIDTH *= NetManager.BUNDLE_SIZE;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user