org.jgroups.protocols
public class COMPRESS extends Protocol
Version: $Id: COMPRESS.java,v 1.10 2005/11/03 11:42:59 belaban Exp $
Nested Class Summary | |
---|---|
static class | COMPRESS.CompressHeader |
Method Summary | |
---|---|
void | destroy() |
void | down(Event evt)
We compress the payload if it is larger than min_size . |
String | getName() |
void | init() |
boolean | setProperties(Properties props) |
void | up(Event evt)
If there is no header, we pass the message up. |
min_size
. In this case we add a header containing
the original size before compression. Otherwise we add no header.Parameters: evt
Parameters: evt