ostore.tapestry.impl
Class ChannelHandler
java.lang.Object
|
+--ostore.tapestry.impl.ChannelHandler
- public class ChannelHandler
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_dispatched
public LinkedList _dispatched
MAX_CHANNEL_NUMBER
public static final int MAX_CHANNEL_NUMBER
ChannelHandler
public ChannelHandler(Router router)
dispatch
protected void dispatch(QueueElementIF item)
dispatch
protected void dispatch(NetworkMessage msg,
SecureHash msg_id)
send_ack
public void send_ack(NodeId prevhop,
SecureHash msg_id)
handle_msg
public void handle_msg(ostore.tapestry.channel.ChannelACKMsg msg)
handle_msg
public boolean handle_msg(ostore.tapestry.channel.ChannelRequestMsg msg)
handle_msg
public boolean handle_msg(ostore.tapestry.channel.ChannelResponseMsg msg)
handle_msg
public void handle_msg(ostore.tapestry.channel.ChannelRouteMsg msg)
get_channel
public ostore.tapestry.channel.Channel get_channel(NodeId nexthop)
channel_exist
public boolean channel_exist(NodeId nexthop)
channel_creation
public ostore.tapestry.channel.Channel channel_creation(NodeId nexthop)
retransmit
public void retransmit()