|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neociclo.odetteftp.oftplet.OftpletAdapter
public abstract class OftpletAdapter
Constructor Summary | |
---|---|
OftpletAdapter()
|
Method Summary | |
---|---|
void |
destroy()
Called by the Oftplet container to indicate it is being taken out of service. |
OftpletListener |
getListener()
|
SecurityContext |
getSecurityContext()
|
OftpletSpeaker |
getSpeaker()
|
void |
init(OdetteFtpSession session)
Called by the Oftplet container to indicate that it is placed into service. |
boolean |
isProtocolVersionSupported(OdetteFtpVersion version)
|
void |
onExceptionCaught(Throwable cause)
Callback method called on event of an unexpected exception during the communication session and while performing file transfer. |
void |
onSessionEnd()
Callback method indicating protocol release of End Session (ESID) command - normal or abnormal protocol termination. |
void |
onSessionStart()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OftpletAdapter()
Method Detail |
---|
public void destroy()
Oftplet
destroy
in interface Oftplet
public OftpletListener getListener()
getListener
in interface Oftplet
public SecurityContext getSecurityContext()
getSecurityContext
in interface Oftplet
public OftpletSpeaker getSpeaker()
getSpeaker
in interface Oftplet
public void init(OdetteFtpSession session) throws OdetteFtpException
Oftplet
init
in interface Oftplet
OdetteFtpException
public void onExceptionCaught(Throwable cause)
Oftplet
onExceptionCaught
in interface Oftplet
public void onSessionStart()
onSessionStart
in interface Oftplet
public void onSessionEnd()
Oftplet
Oftplet#init(OdetteFtpContext)
method can be used with similar
way, since it's invoked when the protocol session is just created.
onSessionEnd
in interface Oftplet
public boolean isProtocolVersionSupported(OdetteFtpVersion version)
isProtocolVersionSupported
in interface Oftplet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |