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

Something the receiver (or the code that builds a message) got wrong at the protocol level: a packet that breaks the framing rules, a body that is not valid for its opcode, or a message the negotiated version does not have. More...

Inheritance diagram for de.yaacc.fcast.protocol.FCastProtocolException:
Inheritance graph
Collaboration diagram for de.yaacc.fcast.protocol.FCastProtocolException:
Collaboration graph

Classes

enum  Kind
 What went wrong. More...
 

Public Member Functions

 FCastProtocolException (Kind kind, String message)
 
 FCastProtocolException (Kind kind, String message, Throwable cause)
 
Kind getKind ()
 
boolean endsConnection ()
 True if the connection can not go on after this error (the framing is lost).
 

Detailed Description

Something the receiver (or the code that builds a message) got wrong at the protocol level: a packet that breaks the framing rules, a body that is not valid for its opcode, or a message the negotiated version does not have.

The Kind says which, so that the caller decides: a framing error ends the connection, a bad message is dropped.


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