network_websocket.h File Reference

Classes

class  NetworkWebSocketConnectionInterface
 
class  NetworkWebSocketSignalInterface
 
class  NetworkWebSocketClientConnectionInterface
 
class  NetworkWebSocketServerInterface
 

Namespaces

 maxon
 
 maxon::NETWORKWEBSOCKETCONNECTIONPROPERTIES
 

Enumerations

enum class  WEBSOCKETSTATE {
  NOT_CONNECTED ,
  CONNECTED ,
  CLOSED ,
  ERROR
}
 
enum class  WEBSOCKETTYPE {
  TEXT ,
  BINARY ,
  CLOSE
}
 
enum class  WEBSOCKET_OPCODE : UChar {
  CONTINUE ,
  TEXT ,
  DATA ,
  CLOSE ,
  PING ,
  PONG ,
  ILLEGAL
}
 

Functions

enum maxon::WEBSOCKETSTATE MAXON_ENUM_LIST (WEBSOCKETSTATE)
 
enum maxon::WEBSOCKETTYPE MAXON_ENUM_LIST (WEBSOCKETTYPE)
 
enum maxon::WEBSOCKET_OPCODE UChar MAXON_ENUM_LIST (WEBSOCKET_OPCODE)
 
 MAXON_DECLARATION (Class< NetworkWebSocketConnectionRef >, NetworkWebSocketConnectionClass, "net.maxon.class.networkwebsocketconnection")
 
 MAXON_DECLARATION (Class< NetworkWebSocketSignalRef >, NetworkWebSocketSignalClass, "net.maxon.class.networkwebsocketsignal")
 
 MAXON_DECLARATION (Class< NetworkWebSocketServerRef >, NetworkWebSocketServerClass, "net.maxon.class.networkwebsocketserver")
 
 MAXON_DECLARATION (Class< NetworkWebSocketClientConnectionRef >, NetworkWebSocketClientConnectionClass, "net.maxon.class.networkwebsocketclientconnection")
 

Variables

 NOT_CONNECTED
 
 CONNECTED
 
 CLOSED
 
 ERROR
 
 TEXT
 
 BINARY
 
 CLOSE
 
 CONTINUE
 
 DATA
 
 PING
 
 PONG
 
 ILLEGAL
 

Variable Documentation

◆ NOT_CONNECTED

NOT_CONNECTED

connection is not established yet.

◆ CONNECTED

CONNECTED

connection is established.

◆ CLOSED

CLOSED

connection is closed. Sending data is not allowed anymore.

◆ ERROR

ERROR

connection is in error state, so it's going to be closed.

◆ TEXT

TEXT

text WebSocket frame.

text frame

◆ BINARY

BINARY

binary WebSocket frame.

◆ CLOSE

CLOSE

closing frame

◆ CONTINUE

CONTINUE

continuation frame, no data follows

◆ DATA

DATA

binary frame

◆ PING

PING

ping frame

◆ PONG

PONG

pong frame

◆ ILLEGAL

ILLEGAL

invalid state