Top Description Fields Constructors Methods
com.sun.nio.sctp

public final Enum HandlerResult

extends Enum<HandlerResult>
Class Inheritance

Defines notification handler results.

The HandlerResult is used to determine the behavior of the channel after it handles a notification from the SCTP stack. Essentially its value determines if the channel should try to receive another notification or a message before returning.

Since
1.7

Field Summary

Modifier and TypeField and Description
public static final HandlerResult
CONTINUE

Try to receive another message or notification.

public static final HandlerResult
RETURN

Return without trying to receive any more data.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static HandlerResult
public static HandlerResult[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CONTINUEback to summary
public static final HandlerResult CONTINUE

Try to receive another message or notification.

RETURNback to summary
public static final HandlerResult RETURN

Return without trying to receive any more data.

Constructor Detail

HandlerResultback to summary
private HandlerResult()

Method Detail

valueOfback to summary
public static HandlerResult valueOf(String name)
valuesback to summary
public static HandlerResult[] values()