BrightSide Workbench Full Report + Source Code
org.turro.financials.handshake.HandshakeStatus Enum Reference

Static Public Member Functions

static HandshakeStatus getStatus (ElephantResponse er)
 

Public Attributes

 HS_NO_HANDSHAKE
 
 HS_BROKEN
 
 HS_ESTABLISHED
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 27 of file HandshakeStatus.java.

Member Function Documentation

◆ getStatus()

static HandshakeStatus org.turro.financials.handshake.HandshakeStatus.getStatus ( ElephantResponse  er)
static

Definition at line 33 of file HandshakeStatus.java.

33  {
34  try {
35  return er != null ? HandshakeStatus.valueOf(er.code) : null;
36  } catch(IllegalArgumentException |NullPointerException ex) {
37  return null;
38  }
39  }
Here is the caller graph for this function:

Member Data Documentation

◆ HS_BROKEN

org.turro.financials.handshake.HandshakeStatus.HS_BROKEN

Definition at line 30 of file HandshakeStatus.java.

◆ HS_ESTABLISHED

org.turro.financials.handshake.HandshakeStatus.HS_ESTABLISHED

Definition at line 31 of file HandshakeStatus.java.

◆ HS_NO_HANDSHAKE

org.turro.financials.handshake.HandshakeStatus.HS_NO_HANDSHAKE

Definition at line 29 of file HandshakeStatus.java.


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