bwLehrpool Masterserver
Manages authentication and sharing of virtual machines between participating institutions
Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes | List of all members
org.openslx.imagemaster.serverconnection.IncomingTransfer Class Reference
+ Inheritance diagram for org.openslx.imagemaster.serverconnection.IncomingTransfer:
+ Collaboration diagram for org.openslx.imagemaster.serverconnection.IncomingTransfer:

Public Member Functions

 IncomingTransfer (ImagePublishData img, List< ByteBuffer > blockHashes, File absDestination, int plainPort, int sslPort) throws TInvocationException, FileNotFoundException
 
String getRelativePath ()
 
synchronized void cancel ()
 
TransferInformation getTransferInfo ()
 
Object getImageVersionId ()
 

Protected Member Functions

boolean hasEnoughFreeSpace ()
 
boolean finishIncomingTransfer ()
 
void chunkStatusChanged (FileChunk chunk)
 

Private Attributes

final String imageVersionId
 
final TransferInformation transferInfo
 

Static Private Attributes

static final Logger LOGGER = LogManager.getLogger( IncomingTransfer.class )
 
static final long MIN_FREE_SPACE_BYTES = FileChunk.CHUNK_SIZE * 10
 

Detailed Description

Definition at line 24 of file IncomingTransfer.java.

Constructor & Destructor Documentation

org.openslx.imagemaster.serverconnection.IncomingTransfer.IncomingTransfer ( ImagePublishData  img,
List< ByteBuffer >  blockHashes,
File  absDestination,
int  plainPort,
int  sslPort 
) throws TInvocationException, FileNotFoundException

Definition at line 35 of file IncomingTransfer.java.

+ Here is the call graph for this function:

Member Function Documentation

synchronized void org.openslx.imagemaster.serverconnection.IncomingTransfer.cancel ( )

Definition at line 64 of file IncomingTransfer.java.

+ Here is the caller graph for this function:

void org.openslx.imagemaster.serverconnection.IncomingTransfer.chunkStatusChanged ( FileChunk  chunk)
protected

Definition at line 99 of file IncomingTransfer.java.

+ Here is the call graph for this function:

boolean org.openslx.imagemaster.serverconnection.IncomingTransfer.finishIncomingTransfer ( )
protected

Definition at line 80 of file IncomingTransfer.java.

+ Here is the call graph for this function:

Object org.openslx.imagemaster.serverconnection.IncomingTransfer.getImageVersionId ( )

Definition at line 118 of file IncomingTransfer.java.

+ Here is the caller graph for this function:

String org.openslx.imagemaster.serverconnection.IncomingTransfer.getRelativePath ( )

Definition at line 58 of file IncomingTransfer.java.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TransferInformation org.openslx.imagemaster.serverconnection.IncomingTransfer.getTransferInfo ( )

Definition at line 93 of file IncomingTransfer.java.

+ Here is the caller graph for this function:

boolean org.openslx.imagemaster.serverconnection.IncomingTransfer.hasEnoughFreeSpace ( )
protected

Definition at line 71 of file IncomingTransfer.java.

+ Here is the call graph for this function:

Member Data Documentation

final String org.openslx.imagemaster.serverconnection.IncomingTransfer.imageVersionId
private

Definition at line 31 of file IncomingTransfer.java.

final Logger org.openslx.imagemaster.serverconnection.IncomingTransfer.LOGGER = LogManager.getLogger( IncomingTransfer.class )
staticprivate

Definition at line 27 of file IncomingTransfer.java.

final long org.openslx.imagemaster.serverconnection.IncomingTransfer.MIN_FREE_SPACE_BYTES = FileChunk.CHUNK_SIZE * 10
staticprivate

Definition at line 29 of file IncomingTransfer.java.

final TransferInformation org.openslx.imagemaster.serverconnection.IncomingTransfer.transferInfo
private

Definition at line 33 of file IncomingTransfer.java.


The documentation for this class was generated from the following file: