|
Openfire 3.3.2 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.openfire.container.BasicModule org.jivesoftware.openfire.spi.PacketTransporterImpl
public class PacketTransporterImpl
In-memory implementation of the packet transporter service.
Constructor Summary | |
---|---|
PacketTransporterImpl()
This is a singleton, you can't create one. |
Method Summary | |
---|---|
void |
deliver(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. |
Methods inherited from class org.jivesoftware.openfire.container.BasicModule |
---|
destroy, getName, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PacketTransporterImpl()
Method Detail |
---|
public TransportHandler getTransportHandler()
public void deliver(Packet packet) throws UnauthorizedException, PacketException
packet
- The packet to route
NullPointerException
- If the packet is null or the
packet could not be routed
UnauthorizedException
PacketException
public void initialize(XMPPServer server)
BasicModule
Initializes the basic module.
Inheriting classes that choose to override this method MUST call this initialize() method before accessing BasicModule resources.
initialize
in interface Module
initialize
in class BasicModule
server
- the server hosting this module.
|
Openfire 3.3.2 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |