public static enum XMPPInputOutputStream.FlushBehavior extends java.lang.Enum<XMPPInputOutputStream.FlushBehavior>
| Enum Constant and Description |
|---|
FULL_FLUSH
Deprecated.
|
ON_CHANNEL_CHANGE
Drop the compression state on channel change, i.e.
|
ON_EVERY_STANZA
Full flush on Stanza boundaries.
|
SYNC_FLUSH
Sync flush when output data is flushed.
|
| Modifier and Type | Method and Description |
|---|---|
static XMPPInputOutputStream.FlushBehavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XMPPInputOutputStream.FlushBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMPPInputOutputStream.FlushBehavior ON_EVERY_STANZA
public static final XMPPInputOutputStream.FlushBehavior ON_CHANNEL_CHANGE
Warning: This feature is experimental. Do not use compression if you need security!
@Deprecated public static final XMPPInputOutputStream.FlushBehavior FULL_FLUSH
public static final XMPPInputOutputStream.FlushBehavior SYNC_FLUSH
public static XMPPInputOutputStream.FlushBehavior[] values()
for (XMPPInputOutputStream.FlushBehavior c : XMPPInputOutputStream.FlushBehavior.values()) System.out.println(c);
public static XMPPInputOutputStream.FlushBehavior valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null