Uses of Enum
org.drasyl.peer.connection.message.ErrorMessage.Error
Packages that use ErrorMessage.Error
Package
Description
Connects to super peer and other peers.
netty handlers for peer connections.
Contains all message types that drasyl uses to configure the overlay network and transfer
application messages.
Provides a server to which children and other peers can connect.
-
Uses of ErrorMessage.Error in org.drasyl.peer.connection.client
Methods in org.drasyl.peer.connection.client that return ErrorMessage.ErrorModifier and TypeMethodDescriptionprotected ErrorMessage.Error
ClientConnectionHandler.validateSessionOffer
(WelcomeMessage offerMessage) -
Uses of ErrorMessage.Error in org.drasyl.peer.connection.handler
Methods in org.drasyl.peer.connection.handler that return ErrorMessage.ErrorModifier and TypeMethodDescriptionprotected abstract ErrorMessage.Error
ThreeWayHandshakeClientHandler.validateSessionOffer
(O offerMessage) This method validates the session offered by the server and must return anErrorMessage.Error
in case of error.protected abstract ErrorMessage.Error
ThreeWayHandshakeServerHandler.validateSessionRequest
(R requestMessage) -
Uses of ErrorMessage.Error in org.drasyl.peer.connection.message
Methods in org.drasyl.peer.connection.message that return ErrorMessage.ErrorModifier and TypeMethodDescriptionstatic ErrorMessage.Error
ErrorMessage.getError()
static ErrorMessage.Error
Returns the enum constant of this type with the specified name.static ErrorMessage.Error[]
ErrorMessage.Error.values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in org.drasyl.peer.connection.message with parameters of type ErrorMessage.ErrorModifierConstructorDescriptionErrorMessage
(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, ErrorMessage.Error error, MessageId correspondingId) Creates a new error message. -
Uses of ErrorMessage.Error in org.drasyl.peer.connection.server
Methods in org.drasyl.peer.connection.server that return ErrorMessage.ErrorModifier and TypeMethodDescriptionprotected ErrorMessage.Error
ServerConnectionHandler.validateSessionRequest
(JoinMessage requestMessage)