C# 클래스 XLibrary.Remote.XConnection

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

공개 프로퍼티들

프로퍼티 타입 설명
Age int
Bandwidth BandwidthLog
ByeMessage string
BytesReceivedinSec int
BytesSentinSec int
FinalRecvBuffSize int
FinalRecvBuffer byte[]
LastSyncSize int
Outbound bool
RecvBuffSize int
RecvBuffer byte[]
Remote XRemote
RemoteIP System.Net.IPAddress
State TcpState
SyncCount int
SyncsPerSecond int
TcpPort ushort
TcpSocket Socket

공개 메소드들

메소드 설명
CleanClose ( string reason ) : void
CleanClose ( string reason, bool reconnect ) : void
Disconnect ( ) : void
Log ( string where, string message ) : void
OnConnect ( ) : void
OnReceive ( int length ) : void
ReceivePackets ( ) : void
SecondTimer ( ) : void
SendPacket ( G2Packet packet ) : int
SendSyncPacket ( SyncPacket packet ) : void
SetConnected ( ) : void
Socket_Connect ( IAsyncResult asyncResult ) : void
Socket_Receive ( IAsyncResult asyncResult ) : void
Socket_Send ( IAsyncResult asyncResult ) : void
ToString ( ) : string
TrySend ( ) : void
XConnection ( XRemote remote ) : System
XConnection ( XRemote remote, IPAddress ip, ushort tcpPort ) : System

비공개 메소드들

메소드 설명
CreateEncryptor ( ) : void
LogPacket ( PacketLogEntry logEntry ) : void

메소드 상세

CleanClose() 공개 메소드

public CleanClose ( string reason ) : void
reason string
리턴 void

CleanClose() 공개 메소드

public CleanClose ( string reason, bool reconnect ) : void
reason string
reconnect bool
리턴 void

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

Log() 공개 메소드

public Log ( string where, string message ) : void
where string
message string
리턴 void

OnConnect() 공개 메소드

public OnConnect ( ) : void
리턴 void

OnReceive() 공개 메소드

public OnReceive ( int length ) : void
length int
리턴 void

ReceivePackets() 공개 메소드

public ReceivePackets ( ) : void
리턴 void

SecondTimer() 공개 메소드

public SecondTimer ( ) : void
리턴 void

SendPacket() 공개 메소드

public SendPacket ( G2Packet packet ) : int
packet G2Packet
리턴 int

SendSyncPacket() 공개 메소드

public SendSyncPacket ( SyncPacket packet ) : void
packet SyncPacket
리턴 void

SetConnected() 공개 메소드

public SetConnected ( ) : void
리턴 void

Socket_Connect() 공개 메소드

public Socket_Connect ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
리턴 void

Socket_Receive() 공개 메소드

public Socket_Receive ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
리턴 void

Socket_Send() 공개 메소드

public Socket_Send ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

TrySend() 공개 메소드

public TrySend ( ) : void
리턴 void

XConnection() 공개 메소드

public XConnection ( XRemote remote ) : System
remote XRemote
리턴 System

XConnection() 공개 메소드

public XConnection ( XRemote remote, IPAddress ip, ushort tcpPort ) : System
remote XRemote
ip System.Net.IPAddress
tcpPort ushort
리턴 System

프로퍼티 상세

Age 공개적으로 프로퍼티

public int Age
리턴 int

Bandwidth 공개적으로 프로퍼티

public BandwidthLog,XLibrary.Remote Bandwidth
리턴 BandwidthLog

ByeMessage 공개적으로 프로퍼티

public string ByeMessage
리턴 string

BytesReceivedinSec 공개적으로 프로퍼티

public int BytesReceivedinSec
리턴 int

BytesSentinSec 공개적으로 프로퍼티

public int BytesSentinSec
리턴 int

FinalRecvBuffSize 공개적으로 프로퍼티

public int FinalRecvBuffSize
리턴 int

FinalRecvBuffer 공개적으로 프로퍼티

public byte[] FinalRecvBuffer
리턴 byte[]

LastSyncSize 공개적으로 프로퍼티

public int LastSyncSize
리턴 int

Outbound 공개적으로 프로퍼티

public bool Outbound
리턴 bool

RecvBuffSize 공개적으로 프로퍼티

public int RecvBuffSize
리턴 int

RecvBuffer 공개적으로 프로퍼티

public byte[] RecvBuffer
리턴 byte[]

Remote 공개적으로 프로퍼티

public XRemote,XLibrary.Remote Remote
리턴 XRemote

RemoteIP 공개적으로 프로퍼티

public IPAddress,System.Net RemoteIP
리턴 System.Net.IPAddress

State 공개적으로 프로퍼티

public TcpState State
리턴 TcpState

SyncCount 공개적으로 프로퍼티

public int SyncCount
리턴 int

SyncsPerSecond 공개적으로 프로퍼티

public int SyncsPerSecond
리턴 int

TcpPort 공개적으로 프로퍼티

public ushort TcpPort
리턴 ushort

TcpSocket 공개적으로 프로퍼티

public Socket TcpSocket
리턴 Socket