public enum RSocketInteractionModel extends Enum<RSocketInteractionModel>
FrameType
Enum Constant and Description |
---|
fireAndForget
The model for
RSocket.fireAndForget(io.rsocket.Payload) operation. |
requestChannel
The model for
RSocket.requestChannel(org.reactivestreams.Publisher<io.rsocket.Payload>) operation. |
requestResponse
The model for
RSocket.requestResponse(io.rsocket.Payload) operation. |
requestStream
The model for
RSocket.requestStream(io.rsocket.Payload) operation. |
Modifier and Type | Method and Description |
---|---|
io.rsocket.frame.FrameType |
getFrameType() |
static RSocketInteractionModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RSocketInteractionModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RSocketInteractionModel fireAndForget
RSocket.fireAndForget(io.rsocket.Payload)
operation.public static final RSocketInteractionModel requestResponse
RSocket.requestResponse(io.rsocket.Payload)
operation.public static final RSocketInteractionModel requestStream
RSocket.requestStream(io.rsocket.Payload)
operation.public static final RSocketInteractionModel requestChannel
RSocket.requestChannel(org.reactivestreams.Publisher<io.rsocket.Payload>)
operation.public static RSocketInteractionModel[] values()
for (RSocketInteractionModel c : RSocketInteractionModel.values()) System.out.println(c);
public static RSocketInteractionModel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic io.rsocket.frame.FrameType getFrameType()