| Package | Description |
|---|---|
| tecgraf.ftc_1_4.client | |
| tecgraf.ftc_1_4.server |
| Modifier and Type | Method and Description |
|---|---|
long |
RemoteDataChannel.getPosition()
Obtém a posição atual do canal.
|
long |
RemoteDataChannel.getSize()
Obtém a quantidade de bytes no canal a partir da posição inicial.
|
void |
RemoteDataChannel.keepAlive()
Operação que faz um poll no servidor com o intuito de manter a conexao
ativa
|
void |
IRemoteDataChannel.keepAlive()
Operação que faz um poll no servidor com o intuito de manter a conexao
ativa
|
void |
RemoteDataChannel.open()
Solicita a abertura do arquivo.
|
void |
IRemoteDataChannel.open()
Solicita a abertura do arquivo.
|
int |
RemoteDataChannel.read(ByteBuffer dest)
Lê uma sequência de bytes do arquivo.
|
int |
RemoteDataChannel.read(ByteBuffer dest,
long remotePosition)
Lê uma sequência de bytes do arquivo.
|
void |
RemoteDataChannel.setPosition(long position)
Define a nova posição do arquivo.
|
void |
RemoteDataChannel.setSize(long size)
Define a quantidade de bytes para o canal.
|
long |
RemoteDataChannel.transferTo(long remotePosition,
long count,
WritableByteChannel dest)
Transfere os dados do arquivo para um fluxo de saída.
|
int |
RemoteDataChannel.write(ByteBuffer source)
Escreve uma sequência de bytes no arquivo.
|
int |
RemoteDataChannel.write(ByteBuffer source,
long remotePosition)
Escreve uma sequência de bytes no arquivo.
|
| Modifier and Type | Method and Description |
|---|---|
IDataChannel |
DefaultDataProvider.createFileChannel(Object requester,
byte[] fileId,
boolean readOnly)
Cria um canal para um arquivo.
|
IDataChannel |
DataChannelProvider.createFileChannel(Object requester,
byte[] fileId,
boolean readOnly)
Cria um canal para um arquivo.
|
Copyright © 2019 Tecgraf/PUC-Rio. All rights reserved.