ExceptionHandlers

class ExceptionHandlers<R> @JvmOverloads constructor(val channelExceptionHandler: ChannelExceptionHandler, val incomingGameMessageConsumerExceptionHandler: IncomingGameMessageConsumerExceptionHandler<R> = DefaultIncomingGameMessageConsumerExceptionHandler())

A wrapper class for all the exception handlers necessary to make this library function safely.

Constructors

Link copied to clipboard
constructor(channelExceptionHandler: ChannelExceptionHandler, incomingGameMessageConsumerExceptionHandler: IncomingGameMessageConsumerExceptionHandler<R> = DefaultIncomingGameMessageConsumerExceptionHandler())

Properties

Link copied to clipboard

the exception handler for any exceptions caught by netty handlers

the exception handler for exceptions triggered via any message consumers, in order to allow the message processing to take place safely without the server needing to wrap each payload with its own exception handler

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String