public class SomPumiceConnection extends SomPumiceObject implements SomPumiceHandler
errortext, somSession
Constructor and Description |
---|
SomPumiceConnection(SomPumiceSession session,
java.lang.Integer c)
Create a new object
|
SomPumiceConnection(SomPumiceSession session,
java.lang.Integer c,
java.lang.String[] pairs)
Create a new object
|
SomPumiceConnection(SomPumiceSession session,
java.lang.String s)
Create a new object
|
SomPumiceConnection(SomPumiceSession session,
java.lang.String[] pairs)
Create a new object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
bindTime() |
java.lang.String |
buildInfoString() |
java.lang.String |
callingAddress() |
java.lang.Integer |
cancelDeferredDeliveryOps() |
java.lang.Integer |
changeCredentialsOps() |
java.lang.Integer |
connectionId() |
java.lang.String |
connectionType() |
java.lang.Integer |
deleteOps() |
java.lang.Integer |
deliverMessageOps() |
java.lang.Integer |
deliverReportOps() |
java.lang.Integer |
deliveryControlOps() |
java.lang.String |
dn() |
java.lang.Integer |
fetchOps() |
void |
handleBindResponse(int status,
java.lang.String detail)
Handle the response to a Bind operation
|
void |
handleResponse(SomCommand command,
int status,
SomPumiceConnection object) |
void |
handleResponse(SomCommand command,
int status,
SomPumiceMailbox object) |
void |
handleResponse(SomCommand command,
int status,
SomPumiceMessage object) |
void |
handleResponse(SomCommand command,
int status,
SomPumiceMessageStore object) |
void |
handleResponse(SomCommand command,
int status,
java.lang.String detail)
Generic command response handler
|
void |
handleResponse(SomCommand command,
int status,
java.lang.String[] pairs) |
void |
handleResponse(SomCommand command,
java.lang.String detail,
int status) |
void |
handleResponseWithDetail(SomCommand command,
int status) |
java.lang.String |
lastOpTime() |
java.lang.String |
lastOpType() |
java.lang.Integer |
listOps() |
void |
logout(SomCommandListener listener)
Log out this connection
|
java.lang.String |
mailboxPath() |
java.lang.String |
orAddress() |
void |
parsePairs(java.lang.String[] pairs) |
void |
refresh(SomCommandListener listener)
Refresh the status of this connection object
|
java.lang.Integer |
registerMsOps() |
java.lang.Integer |
registerOps() |
void |
removeFromArray(java.util.ArrayList<SomPumiceConnection> connections) |
java.lang.Integer |
submitMessageOps() |
java.lang.Integer |
submitProbeOps() |
java.lang.Integer |
summarizeOps() |
java.lang.String |
uniqueId() |
addAttribute, addAttribute, addBindListener, clearAttributes, getBooleanAttributeValue, getIntegerAttributeValue, getSession, getStringAttributeValue, notifyBindListeners, notifyListener, notifyListeners, notifyListeners, notifyListeners, print, removeBindListener, setSkipNotifications
public SomPumiceConnection(SomPumiceSession session, java.lang.Integer c)
session
- session to with which the object is associatedc
- connection idpublic SomPumiceConnection(SomPumiceSession session, java.lang.String s)
session
- session to with which the object is associateds
- connection id as stringpublic SomPumiceConnection(SomPumiceSession session, java.lang.String[] pairs)
session
- session to with which the object is associatedpairs
- array of type/value pairs with which to populate objectpublic SomPumiceConnection(SomPumiceSession session, java.lang.Integer c, java.lang.String[] pairs)
session
- session to with which the object is associatedc
- connection idpairs
- array of type/value pairs with which to populate objectpublic void parsePairs(java.lang.String[] pairs)
parsePairs
in class SomPumiceObject
public void removeFromArray(java.util.ArrayList<SomPumiceConnection> connections)
public java.lang.String uniqueId()
public void handleResponse(SomCommand command, int status, java.lang.String detail)
SomHandler
handleResponse
in interface SomPumiceHandler
handleResponse
in interface SomHandler
command
- the command to which the response appliesstatus
- status from commanddetail
- error detailpublic void handleResponse(SomCommand command, java.lang.String detail, int status)
public void handleResponseWithDetail(SomCommand command, int status)
public void handleResponse(SomCommand command, int status, SomPumiceMessageStore object)
public void handleResponse(SomCommand command, int status, SomPumiceMailbox object)
handleResponse
in interface SomPumiceHandler
public void handleResponse(SomCommand command, int status, SomPumiceMessage object)
handleResponse
in interface SomPumiceHandler
public void handleResponse(SomCommand command, int status, SomPumiceConnection object)
handleResponse
in interface SomPumiceHandler
public void handleBindResponse(int status, java.lang.String detail)
SomHandler
handleBindResponse
in interface SomHandler
status
- operation statusdetail
- error detail on failurepublic void handleResponse(SomCommand command, int status, java.lang.String[] pairs)
handleResponse
in interface SomPumiceHandler
public void refresh(SomCommandListener listener) throws SomException
listener
- listener to be notified when status updatedSomException
- on errorpublic void logout(SomCommandListener listener) throws SomException
listener
- listener to be notified when connection logged outSomException
- on errorpublic java.lang.String buildInfoString()
public java.lang.Integer connectionId() throws SomException
SomException
public java.lang.String connectionType() throws SomException
SomException
public java.lang.String orAddress() throws SomException
SomException
public java.lang.String dn() throws SomException
SomException
public java.lang.String mailboxPath() throws SomException
SomException
public java.lang.String lastOpTime() throws SomException
SomException
public java.lang.String lastOpType() throws SomException
SomException
public java.lang.String callingAddress() throws SomException
SomException
public java.lang.Integer listOps() throws SomException
SomException
public java.lang.Integer summarizeOps() throws SomException
SomException
public java.lang.Integer fetchOps() throws SomException
SomException
public java.lang.Integer deleteOps() throws SomException
SomException
public java.lang.Integer registerMsOps() throws SomException
SomException
public java.lang.Integer submitMessageOps() throws SomException
SomException
public java.lang.Integer submitProbeOps() throws SomException
SomException
public java.lang.Integer cancelDeferredDeliveryOps() throws SomException
SomException
public java.lang.Integer deliverMessageOps() throws SomException
SomException
public java.lang.Integer deliverReportOps() throws SomException
SomException
public java.lang.Integer deliveryControlOps() throws SomException
SomException
public java.lang.Integer changeCredentialsOps() throws SomException
SomException
public java.lang.Integer registerOps() throws SomException
SomException
public java.lang.String bindTime() throws SomException
SomException
Version: 18.0v6-0
Copyright (c) 2017-2020 Isode