Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jgroups.stack.Protocol
org.jgroups.protocols.FRAG2
public class FRAG2
extends Protocol
Field Summary |
Fields inherited from class org.jgroups.stack.Protocol | |
down_handler , down_prot , down_queue , down_thread , down_thread_prio , log , observer , props , stack , stats , trace , up_handler , up_prot , up_queue , up_thread , up_thread_prio , warn |
Method Summary | |
void | |
int | |
String |
|
long | |
long | |
long | |
long | |
int | |
void | |
void |
|
void |
|
boolean |
|
void |
Methods inherited from class org.jgroups.stack.Protocol | |
destroy , down , downThreadEnabled , dumpStats , enableStats , getDownProtocol , getDownQueue , getName , getProperties , getUpProtocol , getUpQueue , handleSpecialDownEvent , init , isTrace , isWarn , passDown , passUp , printStats , providedDownServices , providedUpServices , receiveDownEvent , receiveUpEvent , requiredDownServices , requiredUpServices , resetStats , setDownProtocol , setObserver , setProperties , setPropertiesInternal , setProtocolStack , setTrace , setUpProtocol , setWarn , start , startDownHandler , startUpHandler , statsEnabled , stop , stopInternal , up , upThreadEnabled |
public void down(Event evt)
Fragment a packet if larger than frag_size (add a header). Otherwise just pass down. Only add a header if framentation is needed !
public int getFragSize()
public long getNumberOfReceivedFragments()
public long getNumberOfReceivedMessages()
public long getNumberOfSentFragments()
public long getNumberOfSentMessages()
public int getOverhead()
public void setFragSize(int s)
public void setOverhead(int o)
public boolean setProperties(Properties props)
Setup the Protocol instance acording to the configuration string
- Overrides:
- setProperties in interface Protocol