C# Class BeardedManStudios.Network.WinMobileWorker

Inheritance: BeardedManStudios.Network.NetWorker
Afficher le fichier Open project: drakelinglabs/unityarmada

Protected Properties

Свойство Type Description
serverHost Windows.Networking.HostName

Méthodes publiques

Méthode Description
Connect ( string hostAddress, ushort port ) : void
Disconnect ( ) : void
Disconnect ( NetworkingPlayer player, string reason = "" ) : void
WinMobileWorker ( ) : System
WinMobileWorker ( int maxConnections ) : System
Write ( NetworkingPlayer player, NetworkingStream stream ) : void
Write ( NetworkingStream stream ) : void

Méthodes protégées

Méthode Description
ConnectAsync ( string hostAddress, ushort port ) : void
ErrorDisconnect ( string message ) : void
ReadAsync ( ) : void
SendAsync ( NetworkingPlayer player, NetworkingStream stream ) : void
SendAsync ( NetworkingStream stream ) : void

Method Details

Connect() public méthode

public Connect ( string hostAddress, ushort port ) : void
hostAddress string
port ushort
Résultat void

ConnectAsync() abstract protected méthode

abstract protected ConnectAsync ( string hostAddress, ushort port ) : void
hostAddress string
port ushort
Résultat void

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

Disconnect() public méthode

public Disconnect ( NetworkingPlayer player, string reason = "" ) : void
player NetworkingPlayer
reason string
Résultat void

ErrorDisconnect() protected méthode

protected ErrorDisconnect ( string message ) : void
message string
Résultat void

ReadAsync() abstract protected méthode

abstract protected ReadAsync ( ) : void
Résultat void

SendAsync() protected méthode

protected SendAsync ( NetworkingPlayer player, NetworkingStream stream ) : void
player NetworkingPlayer
stream NetworkingStream
Résultat void

SendAsync() abstract protected méthode

abstract protected SendAsync ( NetworkingStream stream ) : void
stream NetworkingStream
Résultat void

WinMobileWorker() public méthode

public WinMobileWorker ( ) : System
Résultat System

WinMobileWorker() public méthode

public WinMobileWorker ( int maxConnections ) : System
maxConnections int
Résultat System

Write() public méthode

public Write ( NetworkingPlayer player, NetworkingStream stream ) : void
player NetworkingPlayer
stream NetworkingStream
Résultat void

Write() public méthode

public Write ( NetworkingStream stream ) : void
stream NetworkingStream
Résultat void

Property Details

serverHost protected_oe property

protected HostName,Windows.Networking serverHost
Résultat Windows.Networking.HostName