YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.snapcast.protocol.ErrorMessage Class Reference

An error of the server. More...

Inheritance diagram for de.yaacc.snapcast.protocol.ErrorMessage:
Inheritance graph
Collaboration diagram for de.yaacc.snapcast.protocol.ErrorMessage:
Collaboration graph

Public Member Functions

 ErrorMessage (long code, String message, String details)
 
long getCode ()
 
String getMessage ()
 
String getDetails ()
 
boolean isAuthorizationError ()
 True for 401 and 403: the server wants credentials this client does not have.
 
MessageType type ()
 
boolean equals (Object other)
 
int hashCode ()
 
- Public Member Functions inherited from de.yaacc.snapcast.protocol.SnapcastBinaryMessage

Static Public Attributes

static final long CODE_UNAUTHORIZED = 401
 The code of "unauthorized" (authorization is switched on at the server and was not given).
 
static final long CODE_FORBIDDEN = 403
 The code of "forbidden".
 

Detailed Description

An error of the server.

The texts are the server's: display text only, cleaned of control and format characters and cut, never an identity and never a log line.

Constructor & Destructor Documentation

◆ ErrorMessage()

de.yaacc.snapcast.protocol.ErrorMessage.ErrorMessage ( long code,
String message,
String details )
Parameters
codean unsigned 32 bit value
Here is the call graph for this function:

Member Function Documentation

◆ type()

MessageType de.yaacc.snapcast.protocol.ErrorMessage.type ( )

The documentation for this class was generated from the following file: