Photon Server API
Provides initialization request parameter. More...
Public Member Functions | |
| InitRequest (IRpcProtocol protocol, IPhotonPeer peer) | |
| constructor which helps create test peers DO NOT USE IT IN REAL ENVIRONMENT More... | |
Properties | |
| string | ApplicationId [get] |
| Gets the application id. More... | |
| Version | ClientVersion [get] |
| Gets the client version. More... | |
| int | ConnectionId [get] |
| Gets the connection id. More... | |
| Dictionary< string, string > | Header [get] |
| object | InitObject [get] |
| string | LocalIP [get] |
| Gets the local IP the client connected to. More... | |
| int | LocalPort [get] |
| Gets the port the client connects to. More... | |
| IPhotonPeer | PhotonPeer [get, set] |
| Gets the native peer. More... | |
| IRpcProtocol | Protocol [get] |
| Gets the used rpc protocol. More... | |
| string | RemoteIP [get] |
| Gets the client's IP address. More... | |
| int | RemotePort [get] |
| Gets the port the client connects from. More... | |
| Uri | Uri [get] |
| ushort | SdkId [get] |
| Sdk version More... | |
| bool | SourceUsingIPv6 [get] |
| object | ResponseObject [get, set] |
| Response object - data which will be sent to client as response to init request More... | |
| object | UserData [get, set] |
| Any user data object which might be set and used during peer initialization More... | |
Provides initialization request parameter.
|
inline |
constructor which helps create test peers DO NOT USE IT IN REAL ENVIRONMENT
| protocol | |
| peer |
|
get |
Gets the application id.
The application id.
|
get |
Gets the client version.
The client version.
|
get |
Gets the connection id.
Peers connected to different ports may have similar connection ids.
|
get |
|
get |
|
get |
Gets the local IP the client connected to.
|
get |
Gets the port the client connects to.
|
getset |
Gets the native peer.
|
get |
Gets the used rpc protocol.
|
get |
Gets the client's IP address.
|
get |
Gets the port the client connects from.
|
getset |
Response object - data which will be sent to client as response to init request
|
get |
Sdk version
|
get |
|
get |
|
getset |
Any user data object which might be set and used during peer initialization