ch.mimo.netty.handler.codec.icap
Class ReadIcapInitialState
java.lang.Object
ch.mimo.netty.handler.codec.icap.State<Object>
ch.mimo.netty.handler.codec.icap.ReadIcapInitialState
public class ReadIcapInitialState
- extends State<Object>
Decoder State that reads icap initial.
- Author:
- Michael Mimo Moratti (mimo@mimo.ch)
- See Also:
IcapMessageDecoder
,
StateEnum
Methods inherited from class ch.mimo.netty.handler.codec.icap.State |
toString |
ReadIcapInitialState
public ReadIcapInitialState(String name)
onEntry
public void onEntry(org.jboss.netty.buffer.ChannelBuffer buffer,
IcapMessageDecoder icapMessageDecoder)
throws DecodingException
- Description copied from class:
State
- Preparation method
- Specified by:
onEntry
in class State<Object>
- Throws:
DecodingException
execute
public StateReturnValue execute(org.jboss.netty.buffer.ChannelBuffer buffer,
IcapMessageDecoder icapMessageDecoder)
throws DecodingException
- Description copied from class:
State
- execution method
- Specified by:
execute
in class State<Object>
- Returns:
- @see
StateReturnValue
that contains, dependent on the relevance a return value.
- Throws:
DecodingException
onExit
public StateEnum onExit(org.jboss.netty.buffer.ChannelBuffer buffer,
IcapMessageDecoder icapMessageDecoder,
Object decisionInformation)
throws DecodingException
- Description copied from class:
State
- Flow decision method
- Specified by:
onExit
in class State<Object>
- Returns:
- has to return a valid next state. Can be itself.
- Throws:
DecodingException
Copyright © 2011. All Rights Reserved.