C# Class Universe.Modules.Agent.Xfer.XferModule.XferDownLoad

显示文件 Open project: Virtual-Universe/Virtual-Universe

Public Properties

Property Type Description
Client IClientAPI
Data byte[]
DataPointer int
FileName string
Packet uint
Serial uint
XferID ulong

Public Methods

Method Description
AckPacket ( uint packet ) : bool

Respond to an ack packet from the client

StartSend ( ) : bool

Start a transfer

XferDownLoad ( ) : System
XferDownLoad ( string fileName, byte data, ulong xferID, IClientAPI client ) : System

Method Details

AckPacket() public method

Respond to an ack packet from the client
public AckPacket ( uint packet ) : bool
packet uint
return bool

StartSend() public method

Start a transfer
public StartSend ( ) : bool
return bool

XferDownLoad() public method

public XferDownLoad ( ) : System
return System

XferDownLoad() public method

public XferDownLoad ( string fileName, byte data, ulong xferID, IClientAPI client ) : System
fileName string
data byte
xferID ulong
client IClientAPI
return System

Property Details

Client public_oe property

public IClientAPI Client
return IClientAPI

Data public_oe property

public byte[] Data
return byte[]

DataPointer public_oe property

public int DataPointer
return int

FileName public_oe property

public string FileName
return string

Packet public_oe property

public uint Packet
return uint

Serial public_oe property

public uint Serial
return uint

XferID public_oe property

public ulong XferID
return ulong