C# 클래스 Spinach.AsynchronousSocketListener

파일 보기 프로젝트 열기: shranjan/pinac

공개 프로퍼티들

프로퍼티 타입 설명
allDone System.Threading.ManualResetEvent

공개 메소드들

메소드 설명
AsynchronousSocketListener ( ) : System
Clear ( ) : void
CloseSocket ( ) : void
Disconnect ( ) : void
GetBackup ( ) : String
GetCPU ( ) : String
GetIP ( ) : String
GetIPtoPeer ( ) : Hashtable
GetMaster ( ) : String
GetName ( ) : String
GetNametoIP ( ) : Hashtable
GetPidtoProgram ( ) : Hashtable
GetPort ( ) : String
GetProg ( String pid ) : SwarmMemory
InsertPeer ( String ip, String port, String name, String cpu ) : int
InsertProg ( String pid, SwarmMemory prog ) : void
InsertReceiveTime ( String ipport, String time ) : void
InsertSendTime ( String ipport, String time ) : void
RemovePeer ( String ipport ) : int
SetBackup ( String str ) : void
SetCPU ( String str ) : void
SetIP ( String str ) : void
SetMaster ( String str ) : void
SetName ( String str ) : void
SetPort ( String str ) : void
ShutDown ( string ExcepErr ) : void
StarHeartBeat ( ) : void
StartListening ( ) : void
getRunFailMsg ( String msg ) : void
getRunMsg ( String msg ) : void
getRunSuccessMsg ( String msg ) : void

비공개 메소드들

메소드 설명
AcceptCallback ( IAsyncResult ar ) : void
GetTimeDifference ( string SendTime, string RecevTime ) : int
InsertDelay ( String ipport, String Delay ) : void
ReadCallback ( IAsyncResult ar ) : void
getBackupMsg ( String msg ) : void
getChatMsg ( String msg ) : void
getConnectionRequestMsg ( String msg ) : void
getDisconnectMsg ( String msg ) : void
getErrorMsg ( String msg ) : void
getHeartBeatReplyMsg ( String msg ) : void
getHeartBeatRequestMsg ( String msg ) : void
getIPtoPeerMsg ( String msg ) : void
getMasterMsg ( String msg ) : void
getPrallelSet ( String msg ) : void
getResultSet ( String msg ) : void
parseMsg ( String msg ) : void
preProcess ( String msg ) : void
selectbackup ( ) : String
setMasterBackup ( String ipport ) : void
showHeartBeat ( String ipport ) : void
showTable ( ) : void

메소드 상세

AsynchronousSocketListener() 공개 메소드

public AsynchronousSocketListener ( ) : System
리턴 System

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

CloseSocket() 공개 메소드

public CloseSocket ( ) : void
리턴 void

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

GetBackup() 공개 메소드

public GetBackup ( ) : String
리턴 String

GetCPU() 공개 메소드

public GetCPU ( ) : String
리턴 String

GetIP() 공개 메소드

public GetIP ( ) : String
리턴 String

GetIPtoPeer() 공개 메소드

public GetIPtoPeer ( ) : Hashtable
리턴 System.Collections.Hashtable

GetMaster() 공개 메소드

public GetMaster ( ) : String
리턴 String

GetName() 공개 메소드

public GetName ( ) : String
리턴 String

GetNametoIP() 공개 메소드

public GetNametoIP ( ) : Hashtable
리턴 System.Collections.Hashtable

GetPidtoProgram() 공개 메소드

public GetPidtoProgram ( ) : Hashtable
리턴 System.Collections.Hashtable

GetPort() 공개 메소드

public GetPort ( ) : String
리턴 String

GetProg() 공개 메소드

public GetProg ( String pid ) : SwarmMemory
pid String
리턴 SwarmMemory

InsertPeer() 공개 메소드

public InsertPeer ( String ip, String port, String name, String cpu ) : int
ip String
port String
name String
cpu String
리턴 int

InsertProg() 공개 메소드

public InsertProg ( String pid, SwarmMemory prog ) : void
pid String
prog SwarmMemory
리턴 void

InsertReceiveTime() 공개 메소드

public InsertReceiveTime ( String ipport, String time ) : void
ipport String
time String
리턴 void

InsertSendTime() 공개 메소드

public InsertSendTime ( String ipport, String time ) : void
ipport String
time String
리턴 void

RemovePeer() 공개 메소드

public RemovePeer ( String ipport ) : int
ipport String
리턴 int

SetBackup() 공개 메소드

public SetBackup ( String str ) : void
str String
리턴 void

SetCPU() 공개 메소드

public SetCPU ( String str ) : void
str String
리턴 void

SetIP() 공개 메소드

public SetIP ( String str ) : void
str String
리턴 void

SetMaster() 공개 메소드

public SetMaster ( String str ) : void
str String
리턴 void

SetName() 공개 메소드

public SetName ( String str ) : void
str String
리턴 void

SetPort() 공개 메소드

public SetPort ( String str ) : void
str String
리턴 void

ShutDown() 공개 메소드

public ShutDown ( string ExcepErr ) : void
ExcepErr string
리턴 void

StarHeartBeat() 공개 메소드

public StarHeartBeat ( ) : void
리턴 void

StartListening() 공개 메소드

public StartListening ( ) : void
리턴 void

getRunFailMsg() 공개 메소드

public getRunFailMsg ( String msg ) : void
msg String
리턴 void

getRunMsg() 공개 메소드

public getRunMsg ( String msg ) : void
msg String
리턴 void

getRunSuccessMsg() 공개 메소드

public getRunSuccessMsg ( String msg ) : void
msg String
리턴 void

프로퍼티 상세

allDone 공개적으로 프로퍼티

public ManualResetEvent,System.Threading allDone
리턴 System.Threading.ManualResetEvent