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... | |
InitRequest (IRpcProtocol protocol, Version clientLibVersion, byte sdkid, byte platformId, bool debug, bool usingIPv6, byte[] initRequest) | |
string | GetInfoAsString () |
void | RejectWithDelayedResponse (short errorCode=ErrorCodes.NotReady, string debugMsg=ErrorMessages.ServerNotReady, int responseDelay=0) |
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... | |
object | InitObject [get] |
Init object which was sent by client during connection establishing More... | |
object | DecryptedAuthToken [get] |
Decrypted by application auth token More... | |
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] |
Requested URL More... | |
byte | SdkId [get] |
Sdk version More... | |
byte | PlatformId [get, set] |
Platform on which sdk is used More... | |
bool | ClientUsingDebugLib [get] |
Shows whether debug version of client lib is used More... | |
bool | SourceUsingIPv6 [get] |
If true indicates that client uses IPv6 More... | |
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... | |
WebHeaderCollection | HttpHeaders [get] |
Headers of http request More... | |
InitV3Response | InitResponse [get, set] |
Init V3 response. can be used to send init (handshake) response to client with custom errors and debug string in case if InitV3 is used More... | |
bool | IsInitV3Used [get] |
NetworkProtocolType | NetworkProtocol [get] |
PeerType | PeerType [get] |
byte | ChannelCount [get, set] |
bool | IsRejected [get] |
bool | IsRejectWithDelayedResponse [get] |
int | ResponseDelay [get] |
Provides initialization request parameter.
|
inline |
constructor which helps create test peers DO NOT USE IT IN REAL ENVIRONMENT
protocol | |
peer |
|
inline |
|
inline |
|
inline |
|
get |
Gets the application id.
The application id.
|
getset |
|
get |
Shows whether debug version of client lib is used
|
get |
Gets the client version.
The client version.
|
get |
Gets the connection id.
Peers connected to different ports may have similar connection ids.
|
get |
Decrypted by application auth token
|
get |
Headers of http request
|
get |
Init object which was sent by client during connection establishing
|
getset |
Init V3 response. can be used to send init (handshake) response to client with custom errors and debug string in case if InitV3 is used
|
get |
|
get |
|
get |
|
get |
Gets the local IP the client connected to.
|
get |
Gets the port the client connects to.
|
get |
|
get |
|
getset |
Gets the native peer.
|
getset |
Platform on which sdk is used
|
get |
Gets the used rpc protocol.
|
get |
Gets the client's IP address.
|
get |
Gets the port the client connects from.
|
get |
|
getset |
Response object - data which will be sent to client as response to init request
|
get |
Sdk version
|
get |
If true indicates that client uses IPv6
|
get |
Requested URL
|
getset |
Any user data object which might be set and used during peer initialization