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

Inheritance: INonSharedRegionModule, IXfer
Mostrar archivo Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
AbortXfer ( IClientAPI remoteClient, ulong xferID ) : void
AckPacket ( IClientAPI remoteClient, ulong xferID, uint packet ) : void
AddNewFile ( string fileName, byte data ) : bool

Let the Xfer module know about a file that the client is about to request. Caller is responsible for making sure that the file is here before the client starts the XferRequest.

AddRegion ( IScene scene ) : void
Close ( ) : void
Initialize ( IConfigSource config ) : void
NewClient ( IClientAPI client ) : void
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
RequestXfer ( IClientAPI remoteClient, ulong xferID, string fileName ) : void

Private Methods

Method Description
OnClosingClient ( IClientAPI client ) : void
RemoveOrDecrement ( string fileName ) : void
RemoveXferData ( ulong xferID ) : void

Method Details

AbortXfer() public method

public AbortXfer ( IClientAPI remoteClient, ulong xferID ) : void
remoteClient IClientAPI
xferID ulong
return void

AckPacket() public method

public AckPacket ( IClientAPI remoteClient, ulong xferID, uint packet ) : void
remoteClient IClientAPI
xferID ulong
packet uint
return void

AddNewFile() public method

Let the Xfer module know about a file that the client is about to request. Caller is responsible for making sure that the file is here before the client starts the XferRequest.
public AddNewFile ( string fileName, byte data ) : bool
fileName string
data byte
return bool

AddRegion() public method

public AddRegion ( IScene scene ) : void
scene IScene
return void

Close() public method

public Close ( ) : void
return void

Initialize() public method

public Initialize ( IConfigSource config ) : void
config IConfigSource
return void

NewClient() public method

public NewClient ( IClientAPI client ) : void
client IClientAPI
return void

RegionLoaded() public method

public RegionLoaded ( IScene scene ) : void
scene IScene
return void

RemoveRegion() public method

public RemoveRegion ( IScene scene ) : void
scene IScene
return void

RequestXfer() public method

public RequestXfer ( IClientAPI remoteClient, ulong xferID, string fileName ) : void
remoteClient IClientAPI
xferID ulong
fileName string
return void