Photon Server API

Properties | List of all members
Photon.SocketServer.InitResponse Class Reference

Provides initialization request parameter. More...

Properties

string ApplicationId [get]
 Gets the application id. More...
 
int ConnectionId [get]
 Gets the connection id. 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...
 
object ResponseObject [get]
 

Detailed Description

Provides initialization request parameter.

Property Documentation

◆ ApplicationId

string Photon.SocketServer.InitResponse.ApplicationId
get

Gets the application id.

The application id.

◆ ConnectionId

int Photon.SocketServer.InitResponse.ConnectionId
get

Gets the connection id.

Peers connected to different ports may have similar connection ids.

◆ LocalIP

string Photon.SocketServer.InitResponse.LocalIP
get

Gets the local IP the client connected to.

◆ LocalPort

int Photon.SocketServer.InitResponse.LocalPort
get

Gets the port the client connects to.

◆ PhotonPeer

IPhotonPeer Photon.SocketServer.InitResponse.PhotonPeer
getset

Gets the native peer.

◆ Protocol

IRpcProtocol Photon.SocketServer.InitResponse.Protocol
get

Gets the used rpc protocol.

◆ RemoteIP

string Photon.SocketServer.InitResponse.RemoteIP
get

Gets the client's IP address.

◆ RemotePort

int Photon.SocketServer.InitResponse.RemotePort
get

Gets the port the client connects from.

◆ ResponseObject

object Photon.SocketServer.InitResponse.ResponseObject
get