Package com.isode.som.pumice.objects
Class SomPumiceMessageStore
- java.lang.Object
-
- com.isode.som.pumice.objects.SomPumiceObject
-
- com.isode.som.pumice.objects.SomPumiceMessageStore
-
- All Implemented Interfaces:
SomPumiceHandler,SomHandler
public class SomPumiceMessageStore extends SomPumiceObject implements SomPumiceHandler
Class which models an Isode X.400 Message Store server, including the mailboxes which it supports and any P7/P3 connections into and out of the server.- Author:
- tc
-
-
Field Summary
Fields Modifier and Type Field Description static intSOM_PUMICE_CONNECTED_ANONstatic intSOM_PUMICE_CONNECTED_AUTHstatic intSOM_PUMICE_CONNECTINGstatic intSOM_PUMICE_DISCONNECTEDjava.lang.Integersom_version-
Fields inherited from class com.isode.som.pumice.objects.SomPumiceObject
errortext, somSession
-
-
Constructor Summary
Constructors Constructor Description SomPumiceMessageStore()Create a new empty Message Store object, with some default settings
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabort(SomCommandListener listener)Tell the Message Store to abortvoidblock(SomCommandListener listener, java.lang.String op)Tell the Message Store to block an operationjava.lang.StringblockedOperations()Get list of blocked operations in the Message Storevoidconnect()Connect to the Message Storejava.lang.IntegercurBindOps()Get number of current outstanding Bind operations in the Message Storejava.lang.IntegercurCancelDeferredDeliveryOps()Get number of current outstanding cancel deferred delivery operations in the Message Storejava.lang.IntegercurChangeCredentialsOps()Get number of current change credentials operations in the Message Storejava.lang.IntegercurDeleteOps()Get number of current outstanding delete operations in the Message Storejava.lang.IntegercurDeliverMessageOps()Get number of current outstanding message delivery operations in the Message Storejava.lang.IntegercurDeliverReportOps()Get number of current outstanding report delivery operations in the Message Storejava.lang.IntegercurDeliveryControlOps()Get number of current outstanding delivery control operations in the Message Storejava.lang.IntegercurFetchOps()Get number of current outstanding fetch operations in the Message Storejava.lang.IntegercurListOps()Get number of current outstanding list operations in the Message Storejava.lang.IntegercurRegisterMsOps()Get number of current outstanding registerMS operations in the Message Storejava.lang.IntegercurRegisterOps()Get number of current outstanding register operations in the Message Storejava.lang.IntegercurSubmitMessageOps()Get number of current outstanding message submission operations in the Message Storejava.lang.IntegercurSubmitProbeOps()Get number of current outstanding probe submission operations in the Message Storejava.lang.IntegercurSummarizeOps()Get number of current outstanding summarize operations in the Message Storejava.lang.IntegercurUnbindOps()Get number of current outstanding unbind operations in the Message Storevoiddisconnect()Disconnect from the Message Store (if we are connected)SomPumiceConnection[]getConnections()Get the set of connections which have been read from the Message Store serverjava.util.DategetCurrentTime()Get current timejava.lang.IntegergetCurrentTimeOffset()Get current Message Store time offsetjava.lang.StringgetFriendlyName()Get the friendly name for this Message Storejava.lang.StringgetHostName()Get the host name used to connect to the Message Storejava.lang.StringgetInfoString()Get a string summarizing the connection state of the server stats on message countsSomPumiceMailbox[]getMailboxes()Get the set of mailboxes which have been read from the Message Store serverjava.lang.StringgetPassword()Get the password to be used when connecting to the Message StoreintgetPort()Get the port used to connect to the Message Storejava.lang.StringgetSaslMechanism()Get the name of the SASL mechanismintgetState()Return current state of connectionvoidgetStatus(SomCommandListener listener)Issue a SOM command requesting the status of this object.voidgetSubordinateConnections(SomCommandListener listener)Issue a SOM command requesting the list of connections to this Store.voidgetSubordinateMailboxes(SomCommandListener listener)Issue a SOM command requesting the list of mailboxes subordinate to this Store.java.lang.StringgetUsername()Get the user name (SASL id) used when connecting to the Message StorebooleangetUseTls()Get the value of the flag which indicates whether TLS should be usedvoidhandleBindResponse(int status, java.lang.String detail)Handle the response to a Bind operationvoidhandleResponse(SomCommand command, int status, SomPumiceConnection object)voidhandleResponse(SomCommand command, int status, SomPumiceMailbox object)voidhandleResponse(SomCommand command, int status, SomPumiceMessage object)voidhandleResponse(SomCommand command, int status, java.lang.String detail)Generic command response handlervoidhandleResponse(SomCommand command, int status, java.lang.String[] pairs)voidimportBackup(SomCommandListener listener, java.lang.String source)booleanisConnectionExpected()Check whether we are in the middle of connecting to the Store servervoidlogout(SomCommandListener listener, java.lang.String mailbox)Tell the Message Store to log out a uservoidmaxconns(SomCommandListener listener, java.lang.Integer n)Set the maximum number of connections which the Message Store will acceptvoidmaxmsgs(SomCommandListener listener, java.lang.Integer n)java.lang.IntegermaxNumMessages()Get configured maximum number of messages in Message Storejava.lang.IntegermaxP3Associations()Get configured maximum number of P3 associations allowed in Message Storejava.lang.IntegermaxP7Associations()Get configured maximum number of P7 associations allowed in Message Storevoidmaxvol(SomCommandListener listener, java.lang.Integer v)Set the maximum volume of messages which the Message Store will acceptjava.lang.IntegermaxVolMessages()Get configured maximum volume of messages in Message Storevoidmonitor(SomCommandListener listener, java.lang.Boolean enable)Switch on or off Store monitoring.java.lang.IntegernumMailboxes()Get number of mailboxes in Message Storejava.lang.IntegernumMessages()Get number of messages in Message Storejava.lang.IntegernumMgmtAssociations()Get current number of management associations to the Message Storejava.lang.IntegernumP3Associations()Get current number of P3 associations to/from the Message Storejava.lang.IntegernumP7Associations()Get current number of P7 associations to the Message Storejava.lang.IntegernumReports()Get number of reports in Message Storejava.lang.IntegernumSubmitted()Get number of submitted messages in Message Storejava.lang.IntegerqueuedDapSearchOps()Get number of DAP search operations queued in the Message Storevoidrebuild(SomCommandListener listener)Tell the Message Store rebuild its mailbox listvoidrebuildStats(SomCommandListener listener)Tell the Message Store to rebuild its internal statisticsvoidreload(SomCommandListener listener)Tell the Message Store to reload its configurationvoidrestart(SomCommandListener listener)Tell the Message Store to restartvoidresynchronize(SomCommandListener listener)Tell the Message Store to resynchronize its indexesstatic voidsetConnectionTimeout(int value)Set the connection timeout used for all SOM sessions created via this objectvoidsetFriendlyName(java.lang.String f)Set the friendly name for this Message StorevoidsetHostName(java.lang.String n)Set the host name used to connect to the Message StorevoidsetPassword(java.lang.String n)Set the password to use when connecting to the Message StorevoidsetPort(int p)Set the port used to connect to the Message StorevoidsetSaslMechanism(java.lang.String mech)Configure the name of the SASL mechanism which we want to use for authenticationvoidsetSizeLimits(java.lang.Integer mailboxSizeLimit, java.lang.Integer messageSizeLimit, java.lang.Integer connectionSizeLimit)Configure the sizelimits which we will use when requesting information about the number of mailboxes, connections and message from the MS.voidsetUsername(java.lang.String n)Set the user name (SASL id) to be used when connecting to the Message StorevoidsetUseTls(boolean use)Set the flag which indicates whether TLS should be used for this connectionvoidshutdown(SomCommandListener listener)Tell the Message Store to shut downjava.lang.IntegersomVersion()Get SOM version of Message Storevoidunblock(SomCommandListener listener, java.lang.String op)Tell the Message Store to unlock an operationjava.lang.IntegerunreadHigh()Get number of unread high priority messages in Message Storejava.lang.IntegerunreadLow()Get number of unread low priority messages in Message Storejava.lang.IntegerunreadMedium()Get number of unread medium priority messages in Message Storejava.lang.Stringuptime()Get uptime as string for Message Storejava.lang.Stringversion()Get version string for Message Storejava.lang.IntegervolMessages()Get volume of messages in Message Storejava.lang.IntegervolSubmittedMessages()Get volume of submitted messages in Message Store-
Methods inherited from class com.isode.som.pumice.objects.SomPumiceObject
addAttribute, addAttribute, addBindListener, clearAttributes, getBooleanAttributeValue, getIntegerAttributeValue, getSession, getStringAttributeValue, notifyBindListeners, notifyListener, notifyListeners, notifyListeners, notifyListeners, parsePairs, print, removeBindListener, setSkipNotifications
-
-
-
-
Field Detail
-
som_version
public java.lang.Integer som_version
-
SOM_PUMICE_DISCONNECTED
public static final int SOM_PUMICE_DISCONNECTED
- See Also:
- Constant Field Values
-
SOM_PUMICE_CONNECTING
public static final int SOM_PUMICE_CONNECTING
- See Also:
- Constant Field Values
-
SOM_PUMICE_CONNECTED_ANON
public static final int SOM_PUMICE_CONNECTED_ANON
- See Also:
- Constant Field Values
-
SOM_PUMICE_CONNECTED_AUTH
public static final int SOM_PUMICE_CONNECTED_AUTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
setConnectionTimeout
public static void setConnectionTimeout(int value)
Set the connection timeout used for all SOM sessions created via this object- Parameters:
value- the timeout value
-
setSizeLimits
public void setSizeLimits(java.lang.Integer mailboxSizeLimit, java.lang.Integer messageSizeLimit, java.lang.Integer connectionSizeLimit)Configure the sizelimits which we will use when requesting information about the number of mailboxes, connections and message from the MS.- Parameters:
mailboxSizeLimit- limit on the number of mailboxes on which to reportmessageSizeLimit- limit on the number of messages on which to reportconnectionSizeLimit- limit on the number of connections on which to report
-
getMailboxes
public SomPumiceMailbox[] getMailboxes()
Get the set of mailboxes which have been read from the Message Store server- Returns:
- Array of SomPumiceMailbox objects
-
getConnections
public SomPumiceConnection[] getConnections()
Get the set of connections which have been read from the Message Store server- Returns:
- Array of SomPumiceConnection objects
-
isConnectionExpected
public boolean isConnectionExpected()
Check whether we are in the middle of connecting to the Store server- Returns:
- boolean if expecting to connect
-
getState
public int getState()
Return current state of connection- Returns:
- connection state
-
handleBindResponse
public void handleBindResponse(int status, java.lang.String detail)Description copied from interface:SomHandlerHandle the response to a Bind operation- Specified by:
handleBindResponsein interfaceSomHandler- Parameters:
status- operation statusdetail- error detail on failure
-
handleResponse
public void handleResponse(SomCommand command, int status, java.lang.String detail)
Description copied from interface:SomHandlerGeneric command response handler- Specified by:
handleResponsein interfaceSomHandler- Specified by:
handleResponsein interfaceSomPumiceHandler- Parameters:
command- the command to which the response appliesstatus- status from commanddetail- error detail
-
handleResponse
public void handleResponse(SomCommand command, int status, java.lang.String[] pairs)
- Specified by:
handleResponsein interfaceSomPumiceHandler
-
handleResponse
public void handleResponse(SomCommand command, int status, SomPumiceMailbox object)
- Specified by:
handleResponsein interfaceSomPumiceHandler
-
handleResponse
public void handleResponse(SomCommand command, int status, SomPumiceConnection object)
- Specified by:
handleResponsein interfaceSomPumiceHandler
-
handleResponse
public void handleResponse(SomCommand command, int status, SomPumiceMessage object)
- Specified by:
handleResponsein interfaceSomPumiceHandler
-
getInfoString
public java.lang.String getInfoString()
Get a string summarizing the connection state of the server stats on message counts- Returns:
- Information string
-
getStatus
public void getStatus(SomCommandListener listener) throws SomException
Issue a SOM command requesting the status of this object. The response data will be used to update the object, and the listener will be informed.- Parameters:
listener- Object to notify once status has been updated- Throws:
SomException- on error
-
getSubordinateMailboxes
public void getSubordinateMailboxes(SomCommandListener listener) throws SomException
Issue a SOM command requesting the list of mailboxes subordinate to this Store. The response data will be used to update the Store object's internal list, and the listener will be informed.- Parameters:
listener- Object to notify once list of mailboxes has been updated- Throws:
SomException- on error
-
getSubordinateConnections
public void getSubordinateConnections(SomCommandListener listener) throws SomException
Issue a SOM command requesting the list of connections to this Store. The response data will be used to update the Store object's internal list, and the listener will be informed.- Parameters:
listener- Object to notify once list of connections has been updated- Throws:
SomException- on error
-
getPort
public int getPort()
Get the port used to connect to the Message Store- Returns:
- the port used
-
setPort
public void setPort(int p)
Set the port used to connect to the Message Store- Parameters:
p- the port to be used
-
getHostName
public java.lang.String getHostName()
Get the host name used to connect to the Message Store- Returns:
- the host name
-
setHostName
public void setHostName(java.lang.String n)
Set the host name used to connect to the Message Store- Parameters:
n- the host name to use
-
getUsername
public java.lang.String getUsername()
Get the user name (SASL id) used when connecting to the Message Store- Returns:
- user name
-
setUsername
public void setUsername(java.lang.String n)
Set the user name (SASL id) to be used when connecting to the Message Store- Parameters:
n- the user name to use
-
getPassword
public java.lang.String getPassword()
Get the password to be used when connecting to the Message Store- Returns:
- the password
-
setPassword
public void setPassword(java.lang.String n)
Set the password to use when connecting to the Message Store- Parameters:
n- the password to use
-
getFriendlyName
public java.lang.String getFriendlyName()
Get the friendly name for this Message Store- Returns:
- the friendly name
-
setFriendlyName
public void setFriendlyName(java.lang.String f)
Set the friendly name for this Message Store- Parameters:
f- the friendly name to use
-
setUseTls
public void setUseTls(boolean use)
Set the flag which indicates whether TLS should be used for this connection- Parameters:
use- true to use TLS
-
getUseTls
public boolean getUseTls()
Get the value of the flag which indicates whether TLS should be used- Returns:
- true if TLS in use
-
connect
public void connect() throws SomExceptionConnect to the Message Store- Throws:
SomException- on error
-
disconnect
public void disconnect() throws SomExceptionDisconnect from the Message Store (if we are connected)- Throws:
SomException- on error
-
monitor
public void monitor(SomCommandListener listener, java.lang.Boolean enable) throws SomException
Switch on or off Store monitoring.- Parameters:
listener- Listener object which will be updated with new dataenable- Control whether we are turning monitoring on or off- Throws:
SomException- on error
-
shutdown
public void shutdown(SomCommandListener listener) throws SomException
Tell the Message Store to shut down- Parameters:
listener- which will be informed when the operation is complete- Throws:
SomException- on error
-
abort
public void abort(SomCommandListener listener) throws SomException
Tell the Message Store to abort- Parameters:
listener- which will be informed when the operation is complete- Throws:
SomException- on error
-
restart
public void restart(SomCommandListener listener) throws SomException
Tell the Message Store to restart- Parameters:
listener- which will be informed when the operation is complete- Throws:
SomException- on error
-
logout
public void logout(SomCommandListener listener, java.lang.String mailbox) throws SomException
Tell the Message Store to log out a user- Parameters:
listener- which will be informed when the operation is completemailbox- The mailbox to log out, or the string "ALL"- Throws:
SomException- on error
-
block
public void block(SomCommandListener listener, java.lang.String op) throws SomException
Tell the Message Store to block an operation- Parameters:
listener- which will be informed when the operation is completeop- the operation to block- Throws:
SomException- on error
-
importBackup
public void importBackup(SomCommandListener listener, java.lang.String source) throws SomException
- Throws:
SomException
-
unblock
public void unblock(SomCommandListener listener, java.lang.String op) throws SomException
Tell the Message Store to unlock an operation- Parameters:
listener- which will be informed when the operation is completeop- the operation to unblock- Throws:
SomException- on error
-
maxconns
public void maxconns(SomCommandListener listener, java.lang.Integer n) throws SomException
Set the maximum number of connections which the Message Store will accept- Parameters:
listener- which will be informed when the operation is completen- the maximum number of connections to accept- Throws:
SomException- on error
-
maxvol
public void maxvol(SomCommandListener listener, java.lang.Integer v) throws SomException
Set the maximum volume of messages which the Message Store will accept- Parameters:
listener- which will be informed when the operation is completev- the maximum volume- Throws:
SomException- on error
-
maxmsgs
public void maxmsgs(SomCommandListener listener, java.lang.Integer n) throws SomException
- Throws:
SomException
-
rebuild
public void rebuild(SomCommandListener listener) throws SomException
Tell the Message Store rebuild its mailbox list- Parameters:
listener- which will be informed when the operation is complete- Throws:
SomException- on error
-
resynchronize
public void resynchronize(SomCommandListener listener) throws SomException
Tell the Message Store to resynchronize its indexes- Parameters:
listener- which will be informed when the operation is complete- Throws:
SomException- on error
-
rebuildStats
public void rebuildStats(SomCommandListener listener) throws SomException
Tell the Message Store to rebuild its internal statistics- Parameters:
listener- which will be informed when the operation is complete- Throws:
SomException- on error
-
reload
public void reload(SomCommandListener listener) throws SomException
Tell the Message Store to reload its configuration- Parameters:
listener- which will be informed when the operation is complete- Throws:
SomException- on error
-
somVersion
public java.lang.Integer somVersion() throws SomExceptionGet SOM version of Message Store- Returns:
- som version
- Throws:
SomException- on error
-
version
public java.lang.String version() throws SomExceptionGet version string for Message Store- Returns:
- store version string
- Throws:
SomException- on error
-
uptime
public java.lang.String uptime() throws SomExceptionGet uptime as string for Message Store- Returns:
- uptime string
- Throws:
SomException- on error
-
numMailboxes
public java.lang.Integer numMailboxes() throws SomExceptionGet number of mailboxes in Message Store- Returns:
- number of mailboxes
- Throws:
SomException- on error
-
numMessages
public java.lang.Integer numMessages() throws SomExceptionGet number of messages in Message Store- Returns:
- number of messages
- Throws:
SomException- on error
-
numReports
public java.lang.Integer numReports() throws SomExceptionGet number of reports in Message Store- Returns:
- number of reports
- Throws:
SomException- on error
-
numSubmitted
public java.lang.Integer numSubmitted() throws SomExceptionGet number of submitted messages in Message Store- Returns:
- number of submitted messages
- Throws:
SomException- on error
-
unreadLow
public java.lang.Integer unreadLow() throws SomExceptionGet number of unread low priority messages in Message Store- Returns:
- number of unread low priority messages
- Throws:
SomException- on error
-
unreadMedium
public java.lang.Integer unreadMedium() throws SomExceptionGet number of unread medium priority messages in Message Store- Returns:
- number of unread medium priority messages
- Throws:
SomException- on error
-
unreadHigh
public java.lang.Integer unreadHigh() throws SomExceptionGet number of unread high priority messages in Message Store- Returns:
- number of unread high priority messages
- Throws:
SomException- on error
-
volMessages
public java.lang.Integer volMessages() throws SomExceptionGet volume of messages in Message Store- Returns:
- volume of messages
- Throws:
SomException- on error
-
volSubmittedMessages
public java.lang.Integer volSubmittedMessages() throws SomExceptionGet volume of submitted messages in Message Store- Returns:
- volume of submitted messages
- Throws:
SomException- on error
-
maxNumMessages
public java.lang.Integer maxNumMessages() throws SomExceptionGet configured maximum number of messages in Message Store- Returns:
- maximum number of messages allowed
- Throws:
SomException- on error
-
maxVolMessages
public java.lang.Integer maxVolMessages() throws SomExceptionGet configured maximum volume of messages in Message Store- Returns:
- maximum volume of messages allowed
- Throws:
SomException- on error
-
numP7Associations
public java.lang.Integer numP7Associations() throws SomExceptionGet current number of P7 associations to the Message Store- Returns:
- number of P7 associations
- Throws:
SomException- on error
-
numP3Associations
public java.lang.Integer numP3Associations() throws SomExceptionGet current number of P3 associations to/from the Message Store- Returns:
- number of P3 associations
- Throws:
SomException- on error
-
numMgmtAssociations
public java.lang.Integer numMgmtAssociations() throws SomExceptionGet current number of management associations to the Message Store- Returns:
- number of management associations
- Throws:
SomException- on error
-
maxP7Associations
public java.lang.Integer maxP7Associations() throws SomExceptionGet configured maximum number of P7 associations allowed in Message Store- Returns:
- number of P7 associations allowed
- Throws:
SomException- on error
-
maxP3Associations
public java.lang.Integer maxP3Associations() throws SomExceptionGet configured maximum number of P3 associations allowed in Message Store- Returns:
- number of P3 associations allowed
- Throws:
SomException- on error
-
queuedDapSearchOps
public java.lang.Integer queuedDapSearchOps() throws SomExceptionGet number of DAP search operations queued in the Message Store- Returns:
- number of queued DAP search operations
- Throws:
SomException- on error
-
blockedOperations
public java.lang.String blockedOperations() throws SomExceptionGet list of blocked operations in the Message Store- Returns:
- string indicating blocked operations
- Throws:
SomException- on error
-
curBindOps
public java.lang.Integer curBindOps() throws SomExceptionGet number of current outstanding Bind operations in the Message Store- Returns:
- number of bind operations
- Throws:
SomException- on error
-
curCancelDeferredDeliveryOps
public java.lang.Integer curCancelDeferredDeliveryOps() throws SomExceptionGet number of current outstanding cancel deferred delivery operations in the Message Store- Returns:
- number of outstanding cancel deferred delivery operations
- Throws:
SomException- on error
-
curChangeCredentialsOps
public java.lang.Integer curChangeCredentialsOps() throws SomExceptionGet number of current change credentials operations in the Message Store- Returns:
- number of outstanding change credentials operations
- Throws:
SomException- on error
-
curDeleteOps
public java.lang.Integer curDeleteOps() throws SomExceptionGet number of current outstanding delete operations in the Message Store- Returns:
- number of outstanding delete operations
- Throws:
SomException- on error
-
curDeliverMessageOps
public java.lang.Integer curDeliverMessageOps() throws SomExceptionGet number of current outstanding message delivery operations in the Message Store- Returns:
- number of outstanding message delivery operations
- Throws:
SomException- on error
-
curDeliverReportOps
public java.lang.Integer curDeliverReportOps() throws SomExceptionGet number of current outstanding report delivery operations in the Message Store- Returns:
- number of outstanding report delivery operations
- Throws:
SomException- on error
-
curDeliveryControlOps
public java.lang.Integer curDeliveryControlOps() throws SomExceptionGet number of current outstanding delivery control operations in the Message Store- Returns:
- number of outstanding delivery control operations
- Throws:
SomException- on error
-
curFetchOps
public java.lang.Integer curFetchOps() throws SomExceptionGet number of current outstanding fetch operations in the Message Store- Returns:
- number of outstanding fetch operations
- Throws:
SomException- on error
-
curListOps
public java.lang.Integer curListOps() throws SomExceptionGet number of current outstanding list operations in the Message Store- Returns:
- number of outstanding list operations
- Throws:
SomException- on error
-
curRegisterMsOps
public java.lang.Integer curRegisterMsOps() throws SomExceptionGet number of current outstanding registerMS operations in the Message Store- Returns:
- number of outstanding registerMS operations
- Throws:
SomException- on error
-
curRegisterOps
public java.lang.Integer curRegisterOps() throws SomExceptionGet number of current outstanding register operations in the Message Store- Returns:
- number of outstanding register operations
- Throws:
SomException- on error
-
curSubmitMessageOps
public java.lang.Integer curSubmitMessageOps() throws SomExceptionGet number of current outstanding message submission operations in the Message Store- Returns:
- number of outstanding message submission operations
- Throws:
SomException- on error
-
curSubmitProbeOps
public java.lang.Integer curSubmitProbeOps() throws SomExceptionGet number of current outstanding probe submission operations in the Message Store- Returns:
- number of outstanding probe submission operations
- Throws:
SomException- on error
-
curSummarizeOps
public java.lang.Integer curSummarizeOps() throws SomExceptionGet number of current outstanding summarize operations in the Message Store- Returns:
- number of outstanding summarize operations
- Throws:
SomException- on error
-
curUnbindOps
public java.lang.Integer curUnbindOps() throws SomExceptionGet number of current outstanding unbind operations in the Message Store- Returns:
- number of outstanding unbind operations
- Throws:
SomException- on error
-
getCurrentTimeOffset
public java.lang.Integer getCurrentTimeOffset()
Get current Message Store time offset- Returns:
- time offset in seconds
-
getCurrentTime
public java.util.Date getCurrentTime()
Get current time- Returns:
- current time
-
setSaslMechanism
public void setSaslMechanism(java.lang.String mech)
Configure the name of the SASL mechanism which we want to use for authentication- Parameters:
mech- mechanism name which may be null
-
getSaslMechanism
public java.lang.String getSaslMechanism()
Get the name of the SASL mechanism- Returns:
- SASL mechanism name
-
-