public class SomPumiceStatusCommand extends SomPumiceCommand
Modifier and Type | Field and Description |
---|---|
static int |
SOM_PUMICE_CONNECTION |
static int |
SOM_PUMICE_MAILBOX |
static int |
SOM_PUMICE_MESSAGE |
static int |
SOM_PUMICE_STORE |
opListener
Constructor and Description |
---|
SomPumiceStatusCommand(SomPumiceSession session,
SomPumiceHandler object,
SomCommandListener listener)
Construct a status command which will obtain information about the Message
Store as a whole.
|
SomPumiceStatusCommand(SomPumiceSession session,
SomPumiceHandler object,
SomCommandListener listener,
int conn)
Construct a status command which will obtain information about a connection
|
SomPumiceStatusCommand(SomPumiceSession session,
SomPumiceHandler object,
SomCommandListener listener,
java.lang.String path)
Construct a status command which will obtain information about a mailbox
|
SomPumiceStatusCommand(SomPumiceSession session,
SomPumiceHandler object,
SomCommandListener listener,
java.lang.String path,
int num)
Construct a status command which will obtain information about a message
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommandString() |
void |
processResponse(java.lang.String commandData,
byte[] bytedata,
int status)
Process response to command.
|
getHandler, handleErrors, quotesRound
dispatch, getSession, notifyListener, notifyListener, notifyListener
public static final int SOM_PUMICE_STORE
public static final int SOM_PUMICE_MAILBOX
public static final int SOM_PUMICE_CONNECTION
public static final int SOM_PUMICE_MESSAGE
public SomPumiceStatusCommand(SomPumiceSession session, SomPumiceHandler object, SomCommandListener listener)
session
- SOM session object for commandobject
- Handler for resultlistener
- Listener for command responsepublic SomPumiceStatusCommand(SomPumiceSession session, SomPumiceHandler object, SomCommandListener listener, java.lang.String path)
session
- SOM session object for commandobject
- Handler for resultlistener
- Listener for command responsepath
- mailbox identifier - ORAddresspublic SomPumiceStatusCommand(SomPumiceSession session, SomPumiceHandler object, SomCommandListener listener, int conn)
session
- SOM session object for commandobject
- Handler for resultlistener
- Listener for command responseconn
- connection numberpublic SomPumiceStatusCommand(SomPumiceSession session, SomPumiceHandler object, SomCommandListener listener, java.lang.String path, int num)
session
- SOM session object for commandobject
- Handler for resultlistener
- Listener for command responsepath
- mailbox identifier - ORAddressnum
- message sequence numberpublic java.lang.String getCommandString() throws SomException
getCommandString
in class SomCommand
SomException
- Indicating a problem with the commandpublic void processResponse(java.lang.String commandData, byte[] bytedata, int status)
SomCommand
processResponse
in interface SomResponseProcessor
processResponse
in class SomPumiceCommand
Version: 18.0v6-0
Copyright (c) 2017-2020 Isode