java.lang.Object
com.ibm.jzos.WtoMessage
- All Implemented Interfaces:
WtoConstants
A simple data object/bean for holding a WTO message and its parameters. If the supplied
message contains line-separator characters, the message will be broken into multiple WTO
lines at the separators. If a single line is longer than the maximum WTO line length, it
will also be broken into multiple WTO lines.
See: WtoConstants for definitions of route and descriptor codes and flags.
-
Field Summary
Fields inherited from interface com.ibm.jzos.WtoConstants
DESC_CRITICAL_EVENTUAL_ACTION_REQUESTED, DESC_DYNAMIC_STATUS_DISPLAYS, DESC_EVENTUAL_ACTION_REQUIRED, DESC_IMMEDIATE_ACTION_REQUIRED, DESC_IMMEDIATE_COMMAND_RESPONSE, DESC_IMPORTANT_INFORMATION_MESSAGES, DESC_JOB_STATUS, DESC_MESSAGE_PREVIOUSLY_AUTOMATED, DESC_OPERATOR_REQUEST, DESC_OUT_OF_LINE_MESSAGE, DESC_RETAIN, DESC_SYSTEM_FAILURE, DESC_SYSTEM_STATUS, FLAG_CONSOLE_HARDCOPY, ROUTCDE_DASD_POOL, ROUTCDE_DISK_LIBRARY, ROUTCDE_EMULATORS, ROUTCDE_MASTER_CONSOLE_ACTION, ROUTCDE_MASTER_CONSOLE_INFORMATION, ROUTCDE_PROGRAMMER_INFORMATION, ROUTCDE_SYSPROG_INFORMATION, ROUTCDE_SYSTEM_SECURITY, ROUTCDE_TAPE_LIBRARY, ROUTCDE_TAPE_POOL, ROUTCDE_TELEPROCESSING_CONTROL, ROUTCDE_UNIT_RECORD_POOL -
Constructor Summary
ConstructorsConstructorDescriptionWtoMessage(String message) Construct an instance with a given WTO messageWtoMessage(String message, int routcdeBitMask, int descrBitMask) Construct an instance with a given WTO message, routecode and descripter mask -
Method Summary
Modifier and TypeMethodDescriptionint[]Answer an integer array of descriptor codes.longgetFlags()Answer the flags bit mask used to issue the messageAnswer the message stringint[]Answer the route codesintgetToken()Answer the int token used to find this message for deletionvoidsetDescrs(int descrsBitMask) Set the descriptor codes using a bit maskvoidsetDescrs(int[] descrs) Set the descriptor codes using an int arrayvoidsetFlags(long flags) Answer the flags bit mask used to issue the messagevoidsetRoutcdes(int routcdesBitMask) Set the route codes using a integer bit mask.voidsetRoutcdes(int[] routcdes) Set the route codes using a integer array.voidsetToken(int token) Set the int token used to find this message for deletion
-
Constructor Details
-
WtoMessage
Construct an instance with a given WTO message -
WtoMessage
Construct an instance with a given WTO message, routecode and descripter mask
-
-
Method Details
-
getDescrs
public int[] getDescrs()Answer an integer array of descriptor codes.- See Also:
-
setDescrs
public void setDescrs(int descrsBitMask) Set the descriptor codes using a bit mask- See Also:
-
setDescrs
public void setDescrs(int[] descrs) Set the descriptor codes using an int array- See Also:
-
getMessage
Answer the message string -
getRoutcdes
public int[] getRoutcdes()Answer the route codes- See Also:
-
setRoutcdes
public void setRoutcdes(int routcdesBitMask) Set the route codes using a integer bit mask.- See Also:
-
setRoutcdes
public void setRoutcdes(int[] routcdes) Set the route codes using a integer array.- See Also:
-
getToken
public int getToken()Answer the int token used to find this message for deletion -
setToken
public void setToken(int token) Set the int token used to find this message for deletion -
getFlags
public long getFlags()Answer the flags bit mask used to issue the message- See Also:
-
setFlags
public void setFlags(long flags) Answer the flags bit mask used to issue the message- See Also:
-