C# 클래스 BeardedManStudios.Network.WinMobileWorker

상속: BeardedManStudios.Network.NetWorker
파일 보기 프로젝트 열기: drakelinglabs/unityarmada

보호된 프로퍼티들

프로퍼티 타입 설명
serverHost Windows.Networking.HostName

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
ConnectAsync ( string hostAddress, ushort port ) : void
ErrorDisconnect ( string message ) : void
ReadAsync ( ) : void
SendAsync ( NetworkingPlayer player, NetworkingStream stream ) : void
SendAsync ( NetworkingStream stream ) : void

메소드 상세

Connect() 공개 메소드

public Connect ( string hostAddress, ushort port ) : void
hostAddress string
port ushort
리턴 void

ConnectAsync() 추상적인 보호된 메소드

abstract protected ConnectAsync ( string hostAddress, ushort port ) : void
hostAddress string
port ushort
리턴 void

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

Disconnect() 공개 메소드

public Disconnect ( NetworkingPlayer player, string reason = "" ) : void
player NetworkingPlayer
reason string
리턴 void

ErrorDisconnect() 보호된 메소드

protected ErrorDisconnect ( string message ) : void
message string
리턴 void

ReadAsync() 추상적인 보호된 메소드

abstract protected ReadAsync ( ) : void
리턴 void

SendAsync() 보호된 메소드

protected SendAsync ( NetworkingPlayer player, NetworkingStream stream ) : void
player NetworkingPlayer
stream NetworkingStream
리턴 void

SendAsync() 추상적인 보호된 메소드

abstract protected SendAsync ( NetworkingStream stream ) : void
stream NetworkingStream
리턴 void

WinMobileWorker() 공개 메소드

public WinMobileWorker ( ) : System
리턴 System

WinMobileWorker() 공개 메소드

public WinMobileWorker ( int maxConnections ) : System
maxConnections int
리턴 System

Write() 공개 메소드

public Write ( NetworkingPlayer player, NetworkingStream stream ) : void
player NetworkingPlayer
stream NetworkingStream
리턴 void

Write() 공개 메소드

public Write ( NetworkingStream stream ) : void
stream NetworkingStream
리턴 void

프로퍼티 상세

serverHost 보호되어 있는 프로퍼티

protected HostName,Windows.Networking serverHost
리턴 Windows.Networking.HostName