YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.sendspin.hub.Endpoint Class Reference

Where a Sendspin player listens: host, port and the WebSocket path it advertises (default /sendspin). More...

Collaboration diagram for de.yaacc.sendspin.hub.Endpoint:
Collaboration graph

Public Member Functions

 Endpoint (String host, int port, String path)
 
boolean isInbound ()
 True for a player that connected to this phone: it is never dialed, it has to come back by itself.
 
String host ()
 
int port ()
 
String path ()
 
boolean isLoopbackOrUnspecified ()
 True for an address the specification says a server should not connect to when it was advertised on the network.
 
boolean equals (Object o)
 
int hashCode ()
 
String toString ()
 

Static Public Member Functions

static Endpoint inbound (String host)
 The identity of a player that connected to this phone (client-initiated mode): the address it came from.
 

Static Public Attributes

static final String DEFAULT_PATH = "/sendspin"
 
static final int DEFAULT_PORT = 8928
 
static final int INBOUND_PORT = 0
 The port of a player that connected to this phone: it has no address of its own to dial.
 
static final String INBOUND_PATH = "/inbound"
 

Detailed Description

Where a Sendspin player listens: host, port and the WebSocket path it advertises (default /sendspin).


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