Openfire 3.6.3 Javadoc

org.jivesoftware.openfire
Interface PacketDeliverer

All Known Implementing Classes:
MultiplexerPacketDeliverer, PacketDelivererImpl

public interface PacketDeliverer

Delivers packets to locally connected streams. This is the opposite of the packet transporter.

Author:
Iain Shigeoka

Method Summary
 void deliver(Packet packet)
          Delivers the given packet based on packet recipient and sender.
 

Method Detail

deliver

void deliver(Packet packet)
             throws UnauthorizedException,
                    PacketException
Delivers the given packet based on packet recipient and sender. The deliverer defers actual routing decisions to other classes.

Warning

Be careful to enforce concurrency DbC of concurrent by synchronizing any accesses to class resources.

Parameters:
packet - the packet to route
Throws:
PacketException - if the packet is null or the packet could not be routed.
UnauthorizedException

Openfire 3.6.3 Javadoc

Copyright © 2003-2008 Jive Software.