|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.netty.channel.SimpleChannelHandler
goldengate.ftp.core.data.handler.FtpDataStructureCodec
@ChannelHandler.Sharable public class FtpDataStructureCodec

Third CODEC :
- encode/decode : takes DataBlock and transforms it to a
DataBlock
FILE and RECORD are implemented (DataNetworkHandler will do the real job).
PAGE is not implemented.
Note that real actions are taken in the DataNetworkHandler according to the
implementation of FtpFile.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
|---|
org.jboss.netty.channel.ChannelHandler.Sharable |
| Constructor Summary | |
|---|---|
FtpDataStructureCodec(FtpArgumentCode.TransferStructure structure)
|
|
| Method Summary | |
|---|---|
FtpArgumentCode.TransferStructure |
getStructure()
|
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext arg0,
org.jboss.netty.channel.MessageEvent arg1)
|
void |
setStructure(FtpArgumentCode.TransferStructure structure)
|
void |
writeRequested(org.jboss.netty.channel.ChannelHandlerContext arg0,
org.jboss.netty.channel.MessageEvent arg1)
|
| Methods inherited from class org.jboss.netty.channel.SimpleChannelHandler |
|---|
bindRequested, channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, exceptionCaught, handleDownstream, handleUpstream, setInterestOpsRequested, unbindRequested, writeComplete |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FtpDataStructureCodec(FtpArgumentCode.TransferStructure structure)
structure - | Method Detail |
|---|
public FtpArgumentCode.TransferStructure getStructure()
public void setStructure(FtpArgumentCode.TransferStructure structure)
structure - the structure to set
public void writeRequested(org.jboss.netty.channel.ChannelHandlerContext arg0,
org.jboss.netty.channel.MessageEvent arg1)
throws Exception
writeRequested in class org.jboss.netty.channel.SimpleChannelHandlerException
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext arg0,
org.jboss.netty.channel.MessageEvent arg1)
throws Exception
messageReceived in class org.jboss.netty.channel.SimpleChannelHandlerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||