Quantum 3
3.1.0
Container for port definitions for the RealtimeClient. Ports that are non-zero can be used to override assigned ports coming from the server. More...
Public Member Functions | |
| ushort | Get (ConnectionProtocol protocol, ServerConnection serverType) |
| Gets the port for the given protocol and server type. More... | |
| void | SetOldDefaults () |
| Configure this instance with old Photon server ports for all protocols. More... | |
| void | SetTcpDefault () |
| Configure this instance with default TCP server ports: 4530-4533. Note: there is just one port range for TCP. More... | |
| void | SetUdpDefault () |
| Configure this instance with default UDP server ports: 27000-27002. More... | |
| void | SetUdpDefaultOld () |
| Configure this instance with old UDP server ports: 5055-5058. More... | |
| void | SetWsDefault () |
| Configure this instance with default WS server ports: 80. More... | |
| void | SetWsDefaultOld () |
| Configure this instance with old Photon WS server ports: 9090-9093. More... | |
| void | SetWssDefault () |
| Configure this instance with default WSS server ports: 443. More... | |
| void | SetWssDefaultOld () |
| Configure this instance with old Photon WSS server ports: 19090-19093. More... | |
Public Attributes | |
| ServerPorts | Tcp = new ServerPorts() { NameServer = 4533 } |
| Set of TCP server ports. More... | |
| ServerPorts | Udp = new ServerPorts() { NameServer = 27000, MasterServer = 27001, GameServer = 27002 } |
| Set of UDP server ports. More... | |
| ServerPorts | Ws = new ServerPorts() { NameServer = 80 } |
| Set of WebSocket server ports. More... | |
| ServerPorts | Wss = new ServerPorts() { NameServer = 443 } |
| Set of WebSocket Secure server ports. More... | |
Container for port definitions for the RealtimeClient. Ports that are non-zero can be used to override assigned ports coming from the server.
|
inline |
Gets the port for the given protocol and server type.
|
inline |
Configure this instance with default UDP server ports: 27000-27002.
|
inline |
Configure this instance with old UDP server ports: 5055-5058.
|
inline |
Configure this instance with default TCP server ports: 4530-4533. Note: there is just one port range for TCP.
|
inline |
Configure this instance with default WS server ports: 80.
|
inline |
Configure this instance with old Photon WS server ports: 9090-9093.
|
inline |
Configure this instance with default WSS server ports: 443.
|
inline |
Configure this instance with old Photon WSS server ports: 19090-19093.
|
inline |
Configure this instance with old Photon server ports for all protocols.
| ServerPorts Photon.Realtime.ProtocolPorts.Udp = new ServerPorts() { NameServer = 27000, MasterServer = 27001, GameServer = 27002 } |
Set of UDP server ports.
| ServerPorts Photon.Realtime.ProtocolPorts.Tcp = new ServerPorts() { NameServer = 4533 } |
Set of TCP server ports.
| ServerPorts Photon.Realtime.ProtocolPorts.Ws = new ServerPorts() { NameServer = 80 } |
Set of WebSocket server ports.
| ServerPorts Photon.Realtime.ProtocolPorts.Wss = new ServerPorts() { NameServer = 443 } |
Set of WebSocket Secure server ports.