C# 클래스 Dmap.Server

파일 보기 프로젝트 열기: gburt/dmap-sharp 1 사용 예제들

공개 메소드들

메소드 설명
AddCredential ( NetworkCredential cred ) : void
RemoveCredential ( NetworkCredential cred ) : void
Server ( string name ) : System
Start ( ) : void
Stop ( ) : void

보호된 메소드들

메소드 설명
AddTxtRecords ( ITxtRecord record ) : void
HandleRequest ( Socket client, string username, string path, NameValueCollection query, int range, int delta, int clientRev ) : bool
RegisterService ( ) : void
UnregisterService ( ) : void

비공개 메소드들

메소드 설명
ExpireSessions ( ) : void
GetServerInfoNode ( ) : ContentNode
OnHandleRequest ( Socket client, string username, string path, NameValueCollection query, int range ) : bool
OnRegisterServiceResponse ( object o, Mono.Zeroconf.RegisterServiceEventArgs args ) : void
OnUserLogin ( User user ) : void
OnUserLogout ( User user ) : void

메소드 상세

AddCredential() 공개 메소드

public AddCredential ( NetworkCredential cred ) : void
cred System.Net.NetworkCredential
리턴 void

AddTxtRecords() 보호된 메소드

protected AddTxtRecords ( ITxtRecord record ) : void
record ITxtRecord
리턴 void

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

protected abstract HandleRequest ( Socket client, string username, string path, NameValueCollection query, int range, int delta, int clientRev ) : bool
client Socket
username string
path string
query System.Collections.Specialized.NameValueCollection
range int
delta int
clientRev int
리턴 bool

RegisterService() 보호된 메소드

protected RegisterService ( ) : void
리턴 void

RemoveCredential() 공개 메소드

public RemoveCredential ( NetworkCredential cred ) : void
cred System.Net.NetworkCredential
리턴 void

Server() 공개 메소드

public Server ( string name ) : System
name string
리턴 System

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

UnregisterService() 보호된 메소드

protected UnregisterService ( ) : void
리턴 void