Package org.jgroups.fork
Class ForkProtocol
- java.lang.Object
- 
- org.jgroups.stack.Protocol
- 
- org.jgroups.fork.ForkProtocol
 
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.Stringfork_stack_id- 
Fields inherited from class org.jgroups.stack.Protocolafter_creation_hook, down_prot, ergonomics, id, local_addr, log, policies, stack, stats, up_prot
 
- 
 - 
Constructor SummaryConstructors Constructor Description ForkProtocol(java.lang.String fork_stack_id)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectdown(Event evt)An event is to be sent down the stack.java.lang.Objectdown(Message msg)A message is sent down the stack.- 
Methods inherited from class org.jgroups.stack.Protocolaccept, addPolicy, addr, addr, afterCreationHook, destroy, down, enableStats, getAddress, getComponents, getDownProtocol, getDownServices, getId, getIdsAbove, getLevel, getLog, getName, getPolicies, getProtocolStack, getSocketFactory, getThreadFactory, getTransport, getUpProtocol, getUpServices, getValue, init, isErgonomics, level, parse, policies, providedDownServices, providedUpServices, removePolicy, requiredDownServices, requiredUpServices, resetStatistics, resetStats, setAddress, setDownProtocol, setErgonomics, setId, setLevel, setPolicies, setProtocolStack, setSocketFactory, setUpProtocol, setValue, start, statsEnabled, stop, toString, up, up, up
 
- 
 
- 
- 
- 
Method Detail- 
downpublic java.lang.Object down(Event evt) Description copied from class:ProtocolAn event is to be sent down the stack. A protocol may want to examine its type and perform some action on it, depending on the event's type. If the event is a message MSG, then the protocol may need to add a header to it (or do nothing at all) before sending it down the stack usingdown_prot.down().
 
- 
 
-