Class NetherNetHTTPSignaling.JoinRefusal
java.lang.Object
org.cloudburstmc.netty.channel.nethernet.signaling.NetherNetHTTPSignaling.JoinRefusal
- Enclosing class:
- NetherNetHTTPSignaling
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NetherNetHTTPSignaling.JoinRefusalAnother join for this network ID is already waiting for an answer.static final NetherNetHTTPSignaling.JoinRefusalSignaling is not in a state to answer, or something failed while answering.static final NetherNetHTTPSignaling.JoinRefusalThere is no room for another player.static final NetherNetHTTPSignaling.JoinRefusalThe offer carried no usable identity assertion.static final NetherNetHTTPSignaling.JoinRefusalThe player filter turned the peer away.static final NetherNetHTTPSignaling.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