C# 클래스 Spinach.SwarmConnection

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

공개 메소드들

메소드 설명
Create_Swarm ( string SrcIP, string SrcPort, string Username ) : bool
Disconnect ( ) : void
GetIPtoPeer ( ) : Hashtable
InsertProgtoSC ( SwarmMemory sm ) : void
Join_Swarm ( string DstIP, string DstPort, string SrcIP, string SrcPort, string Username ) : bool
ListenChan ( bool x ) : void
Send_ChatMsg ( string chatMsg, string Username ) : void
SwarmConnection ( ) : System
getSocket ( ) : AsynchronousSocketListener

비공개 메소드들

메소드 설명
AddPrevChanged ( string strTemp ) : void
ChangPermission ( string strTemp ) : void
Chat_Changed ( string Username, string ChatMessage ) : void
Error_Changed ( int errorcode, string ErrorMsg ) : void
List_Changed ( Hashtable Displist ) : void
TransferOwnership ( string strTemp ) : void

메소드 상세

Create_Swarm() 공개 메소드

public Create_Swarm ( string SrcIP, string SrcPort, string Username ) : bool
SrcIP string
SrcPort string
Username string
리턴 bool

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

GetIPtoPeer() 공개 메소드

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

InsertProgtoSC() 공개 메소드

public InsertProgtoSC ( SwarmMemory sm ) : void
sm SwarmMemory
리턴 void

Join_Swarm() 공개 메소드

public Join_Swarm ( string DstIP, string DstPort, string SrcIP, string SrcPort, string Username ) : bool
DstIP string
DstPort string
SrcIP string
SrcPort string
Username string
리턴 bool

ListenChan() 공개 메소드

public ListenChan ( bool x ) : void
x bool
리턴 void

Send_ChatMsg() 공개 메소드

public Send_ChatMsg ( string chatMsg, string Username ) : void
chatMsg string
Username string
리턴 void

SwarmConnection() 공개 메소드

public SwarmConnection ( ) : System
리턴 System

getSocket() 공개 메소드

public getSocket ( ) : AsynchronousSocketListener
리턴 AsynchronousSocketListener