Class JoinRefusal
java.lang.Object
org.cloudburstmc.netty.channel.nethernet.signaling.JoinRefusal
Why a join did not happen, and the status it is refused with.
The constants are what this signaling raises on its own. A host answering something else builds one. Only the status reaches the peer for now, since the client shows nothing else; a message can be added here later without changing what callers build.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JoinRefusalAnother join for this network ID is already waiting for an answer.static final JoinRefusalSignaling is not in a state to answer, or something failed while answering.static final JoinRefusalThere is no room for another player.static final JoinRefusalThe offer carried no usable identity assertion.static final JoinRefusalThe player filter turned the peer away.static final JoinRefusalNothing produced an answer in time. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INVALID_IDENTITY
The offer carried no usable identity assertion. -
REJECTED
The player filter turned the peer away. -
FULL
There is no room for another player. -
DUPLICATE
Another join for this network ID is already waiting for an answer. -
TIMEOUT
Nothing produced an answer in time. -
ERROR
Signaling is not in a state to answer, or something failed while answering.
-
-
Constructor Details
-
JoinRefusal
public JoinRefusal(io.netty.handler.codec.http.HttpResponseStatus status)
-
-
Method Details