C# Class ExitGames.Client.Photon.SocketWebTcp

Internal class to encapsulate the network i/o functionality for the realtime libary.
Inheritance: IPhotonSocket, IDisposable
Mostrar archivo Open project: daniel-cheng/stellar

Public Methods

Method Description
Connect ( ) : bool
Disconnect ( ) : bool
Dispose ( ) : void
Receive ( byte &data ) : PhotonSocketError
ReceiveLoop ( ) : IEnumerator
Send ( byte data, int length ) : PhotonSocketError

used by TPeer*

SocketWebTcp ( PeerBase npeer ) : System

Method Details

Connect() public method

public Connect ( ) : bool
return bool

Disconnect() public method

public Disconnect ( ) : bool
return bool

Dispose() public method

public Dispose ( ) : void
return void

Receive() public method

public Receive ( byte &data ) : PhotonSocketError
data byte
return PhotonSocketError

ReceiveLoop() public method

public ReceiveLoop ( ) : IEnumerator
return IEnumerator

Send() public method

used by TPeer*
public Send ( byte data, int length ) : PhotonSocketError
data byte
length int
return PhotonSocketError

SocketWebTcp() public method

public SocketWebTcp ( PeerBase npeer ) : System
npeer PeerBase
return System