C# 클래스 Networking.Server

파일 보기 프로젝트 열기: Silveryard/SmartHome 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ServerInstance instance ) : void

Closes the connection to one client

Server ( ) : System

Creates a new instance

Start ( ) : void

Starts the server

Stop ( ) : void

Stops the server

비공개 메소드들

메소드 설명
ServerInstance_InstanceClosed ( ServerInstance obj ) : void
ServerInstance_MessageReceived ( ServerInstance arg1, byte arg2 ) : void
Work ( ) : void

메소드 상세

Close() 공개 메소드

Closes the connection to one client
public Close ( ServerInstance instance ) : void
instance ServerInstance The connection to close
리턴 void

Server() 공개 메소드

Creates a new instance
public Server ( ) : System
리턴 System

Start() 공개 메소드

Starts the server
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stops the server
public Stop ( ) : void
리턴 void