public class SmppSimulatorSessionHandler
extends org.jboss.netty.handler.codec.frame.FrameDecoder
| Constructor and Description |
|---|
SmppSimulatorSessionHandler(org.jboss.netty.channel.Channel channel,
PduTranscoder transcoder) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPduToWriteOnNextPduReceived(Pdu pdu) |
protected Object |
decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
org.jboss.netty.channel.Channel |
getChannel() |
SmppSimulatorPduProcessor |
getPduProcessor() |
BlockingQueue<Pdu> |
getPduQueue() |
BlockingQueue<Throwable> |
getThrowableQueue() |
PduTranscoder |
getTranscoder() |
Pdu |
pollNextPdu(long timeoutInMillis) |
Throwable |
pollNextThrowable(long timeoutInMillis) |
void |
sendPdu(Pdu pdu) |
void |
setPduProcessor(SmppSimulatorPduProcessor pduProcessor) |
actualReadableBytes, afterAdd, afterRemove, appendToCumulation, beforeAdd, beforeRemove, channelClosed, channelDisconnected, cleanup, decodeLast, extractFrame, getMaxCumulationBufferCapacity, getMaxCumulationBufferComponents, internalBuffer, isUnfold, messageReceived, newCumulationBuffer, replace, setMaxCumulationBufferCapacity, setMaxCumulationBufferComponents, setUnfold, unfoldAndFireMessageReceived, updateCumulationpublic SmppSimulatorSessionHandler(org.jboss.netty.channel.Channel channel,
PduTranscoder transcoder)
public SmppSimulatorPduProcessor getPduProcessor()
public void setPduProcessor(SmppSimulatorPduProcessor pduProcessor)
public org.jboss.netty.channel.Channel getChannel()
public PduTranscoder getTranscoder()
public BlockingQueue<Pdu> getPduQueue()
public void addPduToWriteOnNextPduReceived(Pdu pdu)
public Pdu pollNextPdu(long timeoutInMillis) throws InterruptedException
InterruptedExceptionpublic BlockingQueue<Throwable> getThrowableQueue()
public Throwable pollNextThrowable(long timeoutInMillis) throws InterruptedException
InterruptedExceptionpublic void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
throws Exception
exceptionCaught in class org.jboss.netty.handler.codec.frame.FrameDecoderExceptionCopyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.