mirror of https://github.com/quasar/Quasar.git
Final tweaks to the server documentation
This commit is contained in:
parent
0f281d4af3
commit
978b64b564
|
@ -27,7 +27,8 @@ public class Server
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Fires an event that informs subscribers that the server has changed state.
|
/// Fires an event that informs subscribers that the server has changed state.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="packet"></param>
|
/// <param name="listening">True if the server is listening; False if the server
|
||||||
|
/// is not listening.</param>
|
||||||
private void OnServerState(bool listening)
|
private void OnServerState(bool listening)
|
||||||
{
|
{
|
||||||
if (ServerState != null)
|
if (ServerState != null)
|
||||||
|
@ -52,7 +53,9 @@ private void OnServerState(bool listening)
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Fires an event that informs subscribers that a client has changed state.
|
/// Fires an event that informs subscribers that a client has changed state.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="packet"></param>
|
/// <param name="c"></param>
|
||||||
|
/// <param name="connected">True if the client is connected; False if the client
|
||||||
|
/// is not connected.</param>
|
||||||
private void OnClientState(Client c, bool connected)
|
private void OnClientState(Client c, bool connected)
|
||||||
{
|
{
|
||||||
if (ClientState != null)
|
if (ClientState != null)
|
||||||
|
@ -79,7 +82,7 @@ private void OnClientState(Client c, bool connected)
|
||||||
/// Fires an event that informs subscribers that the a packet has been
|
/// Fires an event that informs subscribers that the a packet has been
|
||||||
/// received from the client.
|
/// received from the client.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="packet"></param>
|
/// <param name="packet">The packet that has been received by the server from the client.</param>
|
||||||
private void OnClientRead(Client c, IPacket packet)
|
private void OnClientRead(Client c, IPacket packet)
|
||||||
{
|
{
|
||||||
if (ClientRead != null)
|
if (ClientRead != null)
|
||||||
|
|
Loading…
Reference in New Issue