public class SomQmgrSchedule extends SomQmgrObject implements SomQmgrHandler
errortext, somSession
Constructor and Description |
---|
SomQmgrSchedule(SomSession session,
java.lang.String id)
Create a new SomQmgrAssociation object for a specified channel and MTA
|
SomQmgrSchedule(SomSession session,
java.lang.String id,
java.lang.String[] pairs)
Create a new SomQmgrAssociation object for a specified channel and MTA, populating
it with data from type/value pairs
|
Modifier and Type | Method and Description |
---|---|
boolean |
active()
Find out if this association is currently active
|
java.lang.Integer |
assocIndex()
Get the association index value for the schedule
|
java.lang.String |
buildInfoString()
Get an information string for this schedule
|
void |
handleBindResponse(int status,
java.lang.String detail)
Handle the response to a Bind operation
|
void |
handleResponse(SomCommand obj,
int status,
SomMessage msg)
Handles the response to commands which return a SomMessage object
(i.e.
|
void |
handleResponse(SomCommand command,
int status,
SomQmgrChannel object)
Handles the response to commands which return a list of channel objects
|
void |
handleResponse(SomCommand command,
int status,
SomQmgrMessage object)
Handles the response to commands which return a list of message objects
|
void |
handleResponse(SomCommand command,
int status,
SomQmgrMta object)
Handles the response to commands which return a list of MTA objects
|
void |
handleResponse(SomCommand command,
int status,
SomQmgrQueueManager object) |
void |
handleResponse(SomCommand command,
int status,
java.lang.String detail)
Handles the response to control commands which return an OK/error
response plus an info string
|
void |
handleResponse(SomCommand command,
int status,
java.lang.String[] pairs)
Handles the response to commands which return data about the current object -
i.e.
|
boolean |
permanent()
Find out if this association is permanent
|
java.lang.Integer |
priority()
Get priority filter value
|
java.lang.Integer |
scheduleId()
Get schedule id
|
java.lang.String |
start()
Get string indicating the start time and date for this schedule
|
java.lang.String |
starttime()
Get string indicating the start time for this schedule
|
java.lang.String |
stop()
Get string indicating the stop time and date for this schedule
|
java.lang.String |
stoptime()
Get string indicating the stop time for this schedule
|
java.lang.String |
weekdays()
Get a string indicating on which days the schedule is active
|
addAttribute, addAttribute, addBindListener, clearAttributes, getBooleanAttributeValue, getDoubleAttributeValue, getIntegerAttributeValue, getSession, getStringAttributeValue, notifyBindListeners, notifyListener, notifyListeners, parsePairs, print_str, print, removeBindListener, setSkipNotifications
public SomQmgrSchedule(SomSession session, java.lang.String id)
session
- Session object for association which may not be nullid
- schedule id which may not be nullpublic SomQmgrSchedule(SomSession session, java.lang.String id, java.lang.String[] pairs)
session
- Session object for association which may not be nullid
- schedule id which may not be nullpairs
- Array of data pairs which may not be nullpublic java.lang.Integer scheduleId()
public java.lang.Integer assocIndex() throws SomException
SomException
- on errorpublic boolean permanent() throws SomException
SomException
- on errorpublic boolean active() throws SomException
SomException
- on errorpublic java.lang.Integer priority() throws SomException
SomException
- on errorpublic java.lang.String weekdays() throws SomException
SomException
- on errorpublic java.lang.String starttime() throws SomException
SomException
- on errorpublic java.lang.String stoptime() throws SomException
SomException
- on errorpublic java.lang.String start() throws SomException
SomException
- on errorpublic java.lang.String stop() throws SomException
SomException
- on errorpublic void handleResponse(SomCommand command, int status, java.lang.String detail)
SomQmgrHandler
handleResponse
in interface SomQmgrHandler
handleResponse
in interface SomHandler
command
- the SOM commandstatus
- operation statusdetail
- detail on errorpublic void handleResponse(SomCommand command, int status, SomQmgrQueueManager object)
public void handleResponse(SomCommand command, int status, SomQmgrChannel object)
SomQmgrHandler
handleResponse
in interface SomQmgrHandler
command
- the SOM commandstatus
- operation statusobject
- a channel objectpublic void handleResponse(SomCommand command, int status, SomQmgrMta object)
SomQmgrHandler
handleResponse
in interface SomQmgrHandler
command
- the SOM commandstatus
- operation statusobject
- a SOM Qmgr MTA objectpublic void handleResponse(SomCommand command, int status, SomQmgrMessage object)
SomQmgrHandler
handleResponse
in interface SomQmgrHandler
command
- the SOM commandstatus
- operation statusobject
- a qmgr message objectpublic void handleBindResponse(int status, java.lang.String detail)
SomHandler
handleBindResponse
in interface SomHandler
status
- operation statusdetail
- error detail on failurepublic void handleResponse(SomCommand obj, int status, SomMessage msg)
SomQmgrHandler
handleResponse
in interface SomQmgrHandler
obj
- the SOM commandstatus
- operation statusmsg
- a message objectpublic void handleResponse(SomCommand command, int status, java.lang.String[] pairs)
SomQmgrHandler
handleResponse
in interface SomQmgrHandler
command
- the SOM commandstatus
- operation statuspairs
- data pairspublic java.lang.String buildInfoString()
Version: 18.0v6-0
Copyright (c) 2017-2020 Isode