|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use OdetteFTPException | |
---|---|
org.fossilec.odettej | |
org.fossilec.odettej.service | |
org.fossilec.odettej.transport | |
org.fossilec.odettej.transport.mbgw | |
org.fossilec.odettej.transport.tcp |
Uses of OdetteFTPException in org.fossilec.odettej |
---|
Subclasses of OdetteFTPException in org.fossilec.odettej | |
---|---|
class |
EndSessionException
|
class |
FileTransferException
|
class |
VirtualFileMappingException
|
Methods in org.fossilec.odettej that throw OdetteFTPException | |
---|---|
void |
OdetteFTPEntity.abort(EndSessionReason error)
|
OdetteFTPEntity |
Session.acceptConnection(Transport transport)
|
void |
PeerAuthenticator.authenticate(java.lang.String remoteUser,
java.lang.String remotePassword,
java.lang.String address)
|
VirtualFile |
ListenerTemplate.beginStartFile(java.lang.String datasetName,
java.util.Date fileDateTime,
java.lang.String destination,
java.lang.String originator,
RecordFormat format,
int maxRecordSize,
int fileSizeBlocks,
long restartPosition,
java.lang.String userData,
java.lang.String reserved)
This method must return a Virtual File object linked to the filesystem, which will be used to store receiving records from peer's sending file. If the |
void |
OdetteFTPEntity.changeDirection()
|
void |
VirtualFile.close()
|
void |
OdetteFTPEntity.closeFile(int recordCount,
long unitCount)
|
OdetteFTPEntity |
Session.connect(java.lang.String address,
java.lang.String userCode,
java.lang.String password)
|
void |
OdetteFTPEntity.dataRegime()
|
void |
OdetteFTPEntity.endToEndResponse(java.lang.String datasetName,
java.util.Date fileDateTime,
java.lang.String destination,
java.lang.String originator,
java.lang.String userData,
java.lang.String reserved)
|
void |
ListenerTemplate.fileDelivered(java.lang.String datasetName,
java.util.Date fileDateTime,
java.lang.String destination,
java.lang.String originator,
java.lang.String userData,
java.lang.String reserved)
The End to End Response (EERP) command notifies the originator of a Virtual File that it has been successfully delivered to it's final destination. |
TransferMode |
Session.getCapableTransferMode()
|
int |
VirtualFile.getFileSize()
Return the file size in 1K (1024 octets) blocks required at the Originator location to store the Virtual File. This parameter is intended to provide only a good estimate of the Virtual File size. |
int |
VirtualFile.getRecordCount()
|
long |
VirtualFile.getUnitCount()
|
boolean |
ListenerTemplate.hasDeliveredFile(java.lang.String datasetName,
java.util.Date fileDateTime,
java.lang.String destination,
java.lang.String originator)
This method is invoked after a sucessful receiving a file by the Odette FTP Entity to certify it was delivered. |
boolean |
OdetteFTPEntity.isConnected()
|
void |
OdetteFTPEntity.release()
|
AnswerReason |
ListenerTemplate.requestStartFile(java.lang.String datasetName,
java.util.Date fileDateTime,
java.lang.String destination,
java.lang.String originator,
RecordFormat format,
int maxRecordSize,
int fileSizeBlocks,
long restartPosition,
java.lang.String userData,
java.lang.String reserved)
|
void |
VirtualFile.setDateTime(java.util.Date date)
|
void |
VirtualFile.setupRestart(int restartOffset)
|
void |
OdetteFTPEntity.startFile(VirtualFile file,
java.lang.String destination,
java.lang.String originator,
java.lang.String userData,
java.lang.String reserved)
|
void |
OdetteFTPEntity.startSession()
|
Constructors in org.fossilec.odettej that throw OdetteFTPException | |
---|---|
VirtualFile(java.lang.String path,
VirtualFile.MappingMode mode,
RecordFormat recordFormat,
int recordSize)
|
|
VirtualFile(java.lang.String path,
VirtualFile.MappingMode mode,
RecordFormat recordFormat,
int recordSize,
int restartOffset)
|
|
VirtualFile(java.lang.String path,
VirtualFile.MappingMode mode,
RecordFormat recordFormat,
int recordSize,
java.lang.String datasetName)
|
|
VirtualFile(java.lang.String path,
VirtualFile.MappingMode mode,
RecordFormat recordFormat,
int recordSize,
java.lang.String datasetName,
int restartOffset)
|
Uses of OdetteFTPException in org.fossilec.odettej.service |
---|
Subclasses of OdetteFTPException in org.fossilec.odettej.service | |
---|---|
class |
BufferCorruptedException
This exception is thrown when the processing buffer is corrupted. |
class |
CommandNotRecognisedException
The exception thrown when parsing or using an Exchange Buffer that contains an invalid command code (1st octet of the buffer). |
class |
InvalidCommandDataException
This exception is thrown when a command contains invalid data. |
Methods in org.fossilec.odettej.service that throw OdetteFTPException | |
---|---|
static CommandExchangeBuffer |
CommandExchangeBuffer.changeDirection()
Create the Change Direction command. |
boolean |
Service.connect(java.lang.String address)
|
void |
Service.disconnect()
|
static CommandExchangeBuffer |
CommandExchangeBuffer.endFile(int recordCount,
long unitCount)
Create the End File command indicating the count of records and overall octets from the transmitted Virtual File. The count will express the real size of the file (before compression, header not included). |
static CommandExchangeBuffer |
CommandExchangeBuffer.endFileNegativeAnswer(AnswerReason reason)
Create the End File Negative Answer command providing the reason for stopping transfer. |
static CommandExchangeBuffer |
CommandExchangeBuffer.endFilePositiveAnswer(boolean changeDirection)
Create the End File Positive Answer command indicating whether the Listener is requesting or not a Change Direction (CD) command from Speaker or not. |
static CommandExchangeBuffer |
CommandExchangeBuffer.endSession(EndSessionReason reason)
Create the End Session command indicating the reason code for terminating the session. |
static CommandExchangeBuffer |
CommandExchangeBuffer.endToEndResponse(java.lang.String dataSetName,
java.lang.String reserved,
java.util.Date dateTime,
java.lang.String userData,
java.lang.String destination,
java.lang.String originator)
Create the End to End Response command with given parameters. |
int |
DataExchangeBuffer.fill(java.nio.ByteBuffer record,
boolean compression,
RecordFormat format,
boolean lastRecord)
|
CommandIdentifier |
OdetteExchangeBuffer.getIdentifier()
Return the corresponding CommandIdentifier relative to the
Exchange Buffer contents. |
static OdetteExchangeBuffer |
OdetteExchangeBuffer.getInstance(java.nio.ByteBuffer rawBuffer,
boolean strictFormat)
Create and return a new OdetteExchangeBuffer instance corresponding to a Command Exchange Buffer or Data Exchange Buffer, regarding the identifier at first octet of the exchange buffer data. |
Transport |
Service.getTransport()
|
boolean |
Service.isConnected()
|
protected void |
CommandExchangeBuffer.parse(java.nio.ByteBuffer rawBuffer)
Method used to set configure this object with the value from parsing the given raw buffer. |
protected abstract void |
OdetteExchangeBuffer.parse(java.nio.ByteBuffer rawBuffer)
|
protected void |
DataExchangeBuffer.parse(java.nio.ByteBuffer rawBuffer)
|
static CommandIdentifier |
CommandIdentifier.parse(java.lang.String code)
Convenient method for parsing the proper CommandIdentifier instance given a identifier character. |
static CommandExchangeBuffer |
CommandExchangeBuffer.readyMessage()
Start Session Ready Message. |
static CommandExchangeBuffer |
CommandExchangeBuffer.readyToReceive()
Create the Ready to Receive command. |
OdetteExchangeBuffer |
StreamTransmissionService.receive(boolean strictFormat)
|
OdetteExchangeBuffer |
UsualService.receive(boolean strictFormat)
|
abstract OdetteExchangeBuffer |
Service.receive(boolean strictFormat)
|
java.nio.ByteBuffer |
DataExchangeBuffer.scrape(boolean compression,
RecordFormat format)
|
int |
StreamTransmissionService.send(OdetteExchangeBuffer oeb)
|
int |
UsualService.send(OdetteExchangeBuffer oeb)
|
abstract int |
Service.send(OdetteExchangeBuffer oeb)
|
static CommandExchangeBuffer |
CommandExchangeBuffer.setCredit(java.lang.String reserved)
Create the Set Credit command which is used to avoid congestion at the protocol level a flow control. |
protected void |
CommandExchangeBuffer.setParamater(java.lang.String name,
java.lang.String value)
Set a parameter in command stream with the given value. |
static CommandExchangeBuffer |
CommandExchangeBuffer.startFile(java.lang.String datasetName,
java.lang.String reserved,
java.util.Date dateTime,
java.lang.String userData,
java.lang.String destination,
java.lang.String originator,
RecordFormat recordFormat,
int maxRecordSize,
int fileSize,
int restartOffset)
Create the Start File command with given parameters. The Start File command includes a count allowing the restart of an interrupted transmission to be negotiated. |
static CommandExchangeBuffer |
CommandExchangeBuffer.startFileNegativeAnswer(AnswerReason reason,
boolean retry)
Create the Start File Negative Answer command containing the the reason why transmission can not proced. This retry parameter is used to advise the Speaker if it
should retry at a latter point in time due to a temporary condition at
the Listener site, such as a lack of storage space. |
static CommandExchangeBuffer |
CommandExchangeBuffer.startFilePositiveAnswer(int answerCount)
Create the Start File Positive Answer command. |
static CommandExchangeBuffer |
CommandExchangeBuffer.startSession(java.lang.String code,
java.lang.String pswd,
int sdeb,
TransferMode mode,
boolean compression,
boolean restart,
boolean specialLogic,
int credit,
java.lang.String reserved,
java.lang.String userData)
Create the Start Session command with given parameters. |
Constructors in org.fossilec.odettej.service that throw OdetteFTPException | |
---|---|
CommandExchangeBuffer(java.nio.ByteBuffer rawBuffer,
boolean strictFormat)
|
|
DataExchangeBuffer(java.nio.ByteBuffer rawBuffer)
|
|
StreamTransmissionBuffer(java.nio.ByteBuffer rawBuffer,
boolean strictFormat)
Constructor used to instantiate a new Stream Transmission Buffer from a raw exchange buffer coming through the transport service. |
Uses of OdetteFTPException in org.fossilec.odettej.transport |
---|
Subclasses of OdetteFTPException in org.fossilec.odettej.transport | |
---|---|
class |
AddressException
Exception thrown when a wrongly formatted address is encountered. |
class |
ConnectionException
The exception thrown when a network connection error occur. |
class |
NotConnectedException
When any method that depends on the connection of the underlying transport is invoked and there isn't an established connection this exception is thrown. |
Methods in org.fossilec.odettej.transport that throw OdetteFTPException | |
---|---|
boolean |
Transport.connect(NetworkAddress address)
Setup a network connection with another Odette FTP peer entity. |
boolean |
Transport.connect(java.lang.String address)
Setup a connection with another Odette FTP peer entity. |
void |
Transport.disconnect()
Terminate the ongoing connection. |
java.lang.String |
Transport.getLocalAddress()
Returns local address used to fulfill Odette FTP session variables. |
java.lang.String |
Transport.getRemoteAddress()
Returns remote address used to fulfill Odette FTP session variables. |
boolean |
Transport.isConnected()
Tells whether the underlying network protocol is connected. |
int |
Transport.receive(java.nio.ByteBuffer dst)
Receive a sequence of bytes from the underlying transport implementation of network protocol. |
int |
Transport.send(java.nio.ByteBuffer src)
Send a sequence of bytes through this transport implementation, of the underlying network protocol, from the given buffer. |
int |
Transport.send(java.nio.ByteBuffer[] srcs)
Sent a sequence of bytes through this transport implementation, of the underlying network protocol, from a subsequence of the given buffers. |
Uses of OdetteFTPException in org.fossilec.odettej.transport.mbgw |
---|
Methods in org.fossilec.odettej.transport.mbgw that throw OdetteFTPException | |
---|---|
int |
MoreDataBitTransport.receive(java.nio.ByteBuffer dest)
Control the receiving More Data Bit packet headers using parent's receive() method. |
int |
MoreDataBitTransport.send(java.nio.ByteBuffer buffer)
Send a buffer using the More Data Bit control header. |
Constructors in org.fossilec.odettej.transport.mbgw that throw OdetteFTPException | |
---|---|
MoreDataBitTransport(java.nio.channels.SocketChannel channel)
Creates a new class instance providing an existing SocketChannel. |
Uses of OdetteFTPException in org.fossilec.odettej.transport.tcp |
---|
Methods in org.fossilec.odettej.transport.tcp that throw OdetteFTPException | |
---|---|
boolean |
TCPTransport.connect(NetworkAddress address)
Setup a network connection with another Odette FTP entity. |
boolean |
TCPTransport.connect(java.lang.String address)
Setup a network connection with another Odette FTP entity. |
void |
TCPTransport.disconnect()
Terminate the ongoing connection. |
protected java.nio.channels.SocketChannel |
TCPTransport.getChannel()
Gets channel used in streaming with TCP connection. |
java.lang.String |
TCPTransport.getLocalAddress()
Returns local address used to fulfill Odette FTP session variables. |
java.lang.String |
TCPTransport.getRemoteAddress()
Returns remote address used to fulfill Odette FTP session variables. |
boolean |
TCPTransport.isConnected()
Tells whether the underlying transport is connected. |
int |
TCPTransport.receive(java.nio.ByteBuffer dest)
Receive a sequence of bytes from the TCP socket channel. |
int |
TCPTransport.send(java.nio.ByteBuffer buffer)
Send a sequence of bytes through this transport implementation, using a TCP/IP socket channel, from the given buffer. |
int |
TCPTransport.send(java.nio.ByteBuffer[] buffers)
Sent a sequence of bytes through this transport implementation, using a TCP/IP socket channel, from a subsequence of the given buffers. |
Constructors in org.fossilec.odettej.transport.tcp that throw OdetteFTPException | |
---|---|
TCPTransport(java.nio.channels.SocketChannel channel)
Creates a new class instance providing an existing SocketChannel. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |