tigase.xmpp.impl
public class OfflineMessages extends XMPPProcessor implements XMPPPostprocessorIfc, XMPPProcessorIfc
Modifier and Type | Field and Description |
---|---|
protected static String |
XMLNS
Field description
|
ALL_NAMES, ALL_PATHS
CLIENT_XMLNS
Constructor and Description |
---|
OfflineMessages() |
Modifier and Type | Method and Description |
---|---|
int |
concurrentQueuesNo()
Method description
|
protected MsgRepositoryIfc |
getMsgRepoImpl(NonAuthUserRepository repo,
XMPPResourceConnection conn)
Method description
|
String |
id()
Describe
id method here. |
protected boolean |
loadOfflineMessages(Packet packet,
XMPPResourceConnection conn)
Method description
|
void |
postProcess(Packet packet,
XMPPResourceConnection conn,
NonAuthUserRepository repo,
Queue<Packet> queue,
Map<String,Object> settings)
Describe
postProcess method here. |
void |
process(Packet packet,
XMPPResourceConnection conn,
NonAuthUserRepository repo,
Queue<Packet> results,
Map<String,Object> settings)
Describe
process method here. |
Queue<Packet> |
restorePacketForOffLineUser(XMPPResourceConnection conn,
MsgRepositoryIfc repo)
Method description
|
boolean |
savePacketForOffLineUser(Packet pac,
MsgRepositoryIfc repo)
Method description
|
tigase.xml.Element[] |
supDiscoFeatures(XMPPResourceConnection session)
Describe
supDiscoFeatures method here. |
String[][] |
supElementNamePaths()
Describe
supElements method here. |
String[] |
supNamespaces()
Describe
supNamespaces method here. |
canHandle, compareTo, concurrentThreadsPerQueue, getInstance, getStatistics, init, isSupporting, supElements, supStreamFeatures, supTypes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canHandle, concurrentThreadsPerQueue, getStatistics, init, isSupporting, supElements, supStreamFeatures, supTypes
compareTo
protected static final String XMLNS
public int concurrentQueuesNo()
concurrentQueuesNo
in interface XMPPImplIfc
concurrentQueuesNo
in class XMPPProcessor
public String id()
id
method here.id
in interface XMPPImplIfc
String
valuepublic void postProcess(Packet packet, XMPPResourceConnection conn, NonAuthUserRepository repo, Queue<Packet> queue, Map<String,Object> settings)
postProcess
method here.postProcess
in interface XMPPPostprocessorIfc
packet
- a Packet
valueconn
- a XMPPResourceConnection
valuerepo
- a NonAuthUserRepository
valuequeue
- a Queue
valuesettings
- public void process(Packet packet, XMPPResourceConnection conn, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings) throws NotAuthorizedException
process
method here.process
in interface XMPPProcessorIfc
packet
- a Packet
valueconn
- a XMPPResourceConnection
valuerepo
- a NonAuthUserRepository
valueresults
- a Queue
valuesettings
- NotAuthorizedException
public Queue<Packet> restorePacketForOffLineUser(XMPPResourceConnection conn, MsgRepositoryIfc repo) throws UserNotFoundException, NotAuthorizedException
conn
- repo
- UserNotFoundException
NotAuthorizedException
public boolean savePacketForOffLineUser(Packet pac, MsgRepositoryIfc repo) throws UserNotFoundException
pac
- repo
- UserNotFoundException
public tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
supDiscoFeatures
method here.supDiscoFeatures
in interface XMPPImplIfc
supDiscoFeatures
in class XMPPProcessor
session
- a XMPPResourceConnection
valueString[]
valuepublic String[][] supElementNamePaths()
supElements
method here.supElementNamePaths
in interface XMPPImplIfc
supElementNamePaths
in class XMPPProcessor
String[]
valuepublic String[] supNamespaces()
supNamespaces
method here.supNamespaces
in interface XMPPImplIfc
supNamespaces
in class XMPPProcessor
String[]
valueprotected MsgRepositoryIfc getMsgRepoImpl(NonAuthUserRepository repo, XMPPResourceConnection conn)
repo
- conn
- protected boolean loadOfflineMessages(Packet packet, XMPPResourceConnection conn)
packet
- conn
- Copyright © 2013 Tigase. All rights reserved.