Photon .NET Client API 4.1.4.8

Classes | Public Member Functions | List of all members
ExitGames.Client.Photon.SocketTcpAsync Class Reference

Internal class to encapsulate the network i/o functionality for the realtime libary. More...

Inheritance diagram for ExitGames.Client.Photon.SocketTcpAsync:
ExitGames.Client.Photon.IPhotonSocket

Public Member Functions

 SocketTcpAsync (PeerBase npeer)
 
void Dispose ()
 
override bool Connect ()
 
override bool Disconnect ()
 
override PhotonSocketError Send (byte[] data, int length)
 used by PhotonPeer* More...
 
override PhotonSocketError Receive (out byte[] data)
 
- Public Member Functions inherited from ExitGames.Client.Photon.IPhotonSocket
 IPhotonSocket (PeerBase peerBase)
 
void HandleReceivedDatagram (byte[] inBuffer, int length, bool willBeReused)
 
bool ReportDebugOfLevel (DebugLevel levelOfMessage)
 
void EnqueueDebugReturn (DebugLevel debugLevel, string message)
 

Additional Inherited Members

- Public Attributes inherited from ExitGames.Client.Photon.IPhotonSocket
bool PollReceive
 
string ConnectAddress
 Address, as defined via a Connect() call. Including protocol, port and or path. More...
 
- Protected Member Functions inherited from ExitGames.Client.Photon.IPhotonSocket
bool TryParseAddress (string url, out string address, out ushort port, out string urlProtocol, out string urlPath)
 Separates the given address into address (host name or IP) and port. Port must be included after colon! More...
 
- Protected Attributes inherited from ExitGames.Client.Photon.IPhotonSocket
readonly ConnectionProtocol Protocol
 The protocol for this socket, defined in constructor. More...
 
- Properties inherited from ExitGames.Client.Photon.IPhotonSocket
IPhotonPeerListener Listener [get]
 
PhotonSocketState State [get, protected set]
 
bool Connected [get]
 
string ServerAddress [get, protected set]
 Contains only the server's hostname (stripped protocol, port and or path). Set in IPhotonSocket.Connect(). More...
 
string ProxyServerAddress [get, protected set]
 
static string ServerIpAddress [get, protected set]
 Contains the IP address of the previously resolved ServerAddress (or empty, if GetIpAddress wasn't used). More...
 
int ServerPort [get, protected set]
 Contains only the server's port address (as string). Set in IphotonSocket.Connect(). More...
 
bool AddressResolvedAsIpv6 [get, set]
 Where available, this exposes if the server's address was resolved into an IPv6 address or not. More...
 
string UrlProtocol [get, protected set]
 
string UrlPath [get, protected set]
 

Detailed Description

Internal class to encapsulate the network i/o functionality for the realtime libary.

Constructor & Destructor Documentation

◆ SocketTcpAsync()

ExitGames.Client.Photon.SocketTcpAsync.SocketTcpAsync ( PeerBase  npeer)
inline

Member Function Documentation

◆ Connect()

override bool ExitGames.Client.Photon.SocketTcpAsync.Connect ( )
inlinevirtual

◆ Disconnect()

override bool ExitGames.Client.Photon.SocketTcpAsync.Disconnect ( )
inlinevirtual

◆ Dispose()

void ExitGames.Client.Photon.SocketTcpAsync.Dispose ( )
inline

◆ Receive()

override PhotonSocketError ExitGames.Client.Photon.SocketTcpAsync.Receive ( out byte[]  data)
inlinevirtual

◆ Send()

override PhotonSocketError ExitGames.Client.Photon.SocketTcpAsync.Send ( byte[]  data,
int  length 
)
inlinevirtual

used by PhotonPeer*

Implements ExitGames.Client.Photon.IPhotonSocket.


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