C# Class FastNetwork.Event.MessageReceivedEventArgs

message received eventArgs
ファイルを表示 Open project: zhujunxxxxx/FastNetwork Class Usage Examples

Public Properties

Property Type Description
Buffer ArraySegment

Public Methods

Method Description
MessageReceivedEventArgs ( ArraySegment buffer, MessageProcessHandler processCallback ) : System

new

SetReadlength ( int readlength ) : void

设置已读取长度

Method Details

MessageReceivedEventArgs() public method

new
processCallback is null
public MessageReceivedEventArgs ( ArraySegment buffer, MessageProcessHandler processCallback ) : System
buffer ArraySegment
processCallback MessageProcessHandler
return System

SetReadlength() public method

设置已读取长度
public SetReadlength ( int readlength ) : void
readlength int
return void

Property Details

Buffer public_oe property

Buffer
public ArraySegment Buffer
return ArraySegment