public class PacketTransporterImpl extends BasicModule
| Constructor and Description |
|---|
PacketTransporterImpl()
This is a singleton, you can't create one.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deliver(org.xmpp.packet.Packet packet)
Delivers the given packet based on packet recipient and sender.
|
TransportHandler |
getTransportHandler()
Obtain the transport handler that this transporter uses for delivering
transport packets.
|
void |
initialize(XMPPServer server)
Initializes the basic module.
|
destroy, getName, start, stoppublic PacketTransporterImpl()
public TransportHandler getTransportHandler()
public void deliver(org.xmpp.packet.Packet packet)
throws UnauthorizedException,
PacketException
packet - The packet to routeNullPointerException - If the packet is null or the
packet could not be routedUnauthorizedExceptionPacketExceptionpublic void initialize(XMPPServer server)
BasicModuleInitializes the basic module.
Inheriting classes that choose to override this method MUST call this initialize() method before accessing BasicModule resources.
initialize in interface Moduleinitialize in class BasicModuleserver - the server hosting this module.Copyright © 2003-2008 Jive Software.