C# Class BeardedManStudios.Network.WinMobileClient

Inheritance: WinMobileWorker
Datei anzeigen Open project: drakelinglabs/unityarmada

Public Methods

Method Description
Connect ( string hostAddress, ushort port ) : void
ConnectAndRead ( string hostAddress, ushort port, NetworkingStream stream ) : void
ConnectAndWrite ( string hostAddress, ushort port, NetworkingStream stream ) : void
Disconnect ( ) : void
Send ( byte data, int length, object endpoint = null ) : void
TimeoutDisconnect ( ) : void
WinMobileClient ( ) : Windows.Networking
Write ( NetworkingPlayer player, NetworkingStream stream ) : void
Write ( NetworkingStream stream ) : void

Protected Methods

Method Description
ConnectAsync ( string hostAddress, ushort port ) : void
ReadAsync ( ) : void
SendAsync ( NetworkingStream stream ) : void

Method Details

Connect() public method

public Connect ( string hostAddress, ushort port ) : void
hostAddress string
port ushort
return void

ConnectAndRead() public method

public ConnectAndRead ( string hostAddress, ushort port, NetworkingStream stream ) : void
hostAddress string
port ushort
stream NetworkingStream
return void

ConnectAndWrite() public method

public ConnectAndWrite ( string hostAddress, ushort port, NetworkingStream stream ) : void
hostAddress string
port ushort
stream NetworkingStream
return void

ConnectAsync() protected method

protected ConnectAsync ( string hostAddress, ushort port ) : void
hostAddress string
port ushort
return void

Disconnect() public method

public Disconnect ( ) : void
return void

ReadAsync() protected method

protected ReadAsync ( ) : void
return void

Send() public method

public Send ( byte data, int length, object endpoint = null ) : void
data byte
length int
endpoint object
return void

SendAsync() protected method

protected SendAsync ( NetworkingStream stream ) : void
stream NetworkingStream
return void

TimeoutDisconnect() public method

public TimeoutDisconnect ( ) : void
return void

WinMobileClient() public method

public WinMobileClient ( ) : Windows.Networking
return Windows.Networking

Write() public method

public Write ( NetworkingPlayer player, NetworkingStream stream ) : void
player NetworkingPlayer
stream NetworkingStream
return void

Write() public method

public Write ( NetworkingStream stream ) : void
stream NetworkingStream
return void