org.fossilec.odettej.service
Class StreamTransmissionService
java.lang.Object
org.fossilec.odettej.service.Service
org.fossilec.odettej.service.StreamTransmissionService
public class StreamTransmissionService
- extends Service
The Service
class provide a protocol level abstraction layer
which encloses the transport layer in using communication. It's used in
conjunction with OdetteExchangeBuffer
class to send and
receive commands and data.
The Odette FTP specification don't indicate whether this service layer must
exist or not, but it makes sense to link the Odette Entity and the (network)
transport layer.
- Author:
- Rafael Marins
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamTransmissionService
public StreamTransmissionService(Transport transport,
int debSize)
receive
public OdetteExchangeBuffer receive(boolean strictFormat)
throws OdetteFTPException
- Specified by:
receive
in class Service
- Throws:
OdetteFTPException
send
public int send(OdetteExchangeBuffer oeb)
throws OdetteFTPException
- Specified by:
send
in class Service
- Throws:
OdetteFTPException
Copyright © 2005 ObjectWeb Consortium. All Rights Reserved.