tecgraf.ftc_1_2.server
Class FileChannelRequestInfo

java.lang.Object
  extended by tecgraf.ftc_1_2.server.FileChannelRequestInfo

public class FileChannelRequestInfo
extends Object

Representa informações sobre a requisição de um canal de dados.

Author:
Tecgraf/PUC-Rio

Method Summary
 long getCreationTime()
          Retorna a hora de criação desse objeto.
 byte[] getFileId()
          Obtém o identificador do arquivo solicitado.
 Object getRequester()
          Obtém o requisitante.
 boolean useTransferTo()
          Retorna Indicador se o arquivo é normal
 void useTransferTo(boolean isNormalFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRequester

public Object getRequester()
Obtém o requisitante.

Returns:
O requisitante.

getFileId

public byte[] getFileId()
Obtém o identificador do arquivo solicitado.

Returns:
O identificador do arquivo solicitado.

useTransferTo

public boolean useTransferTo()
Retorna Indicador se o arquivo é normal

Returns:
isNormalFile

useTransferTo

public void useTransferTo(boolean isNormalFile)
Parameters:
isNormalFile - define se o arquivo é normal.

getCreationTime

public long getCreationTime()
Retorna a hora de criação desse objeto.

Returns:
hora de criação em milisegundos


Copyright © 2017 Tecgraf/PUC-Rio. All rights reserved.