public class Event extends API
This is the Java implementation of the EXEC CICS SIGNAL EVENT command.
com.ibm.cics.server.API for general restrictions on using the JCICS API.| Constructor and Description |
|---|
Event()
Construct an Event with no name.
|
Event(java.lang.String name)
Construct an Event with the supplied name.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Get the name of the Event as known to CICS
|
void |
setName(java.lang.String name)
Set the name of the Event as known to CICS
|
void |
signal()
Signal the Event to CICS.
|
void |
signal(byte[] fromData)
Signal the Event to CICS with a byte array.
|
void |
signal(byte[] fromData,
int fromLength)
Signal the Event to CICS with a byte array and length.
|
void |
signal(Channel fromChannel)
Signal the Event to CICS with a Channel.
|
void |
signal(java.lang.String fromString)
Signal the Event to CICS with a String.
|
public Event()
public Event(java.lang.String name)
throws EventErrorException
name - the name of the EventEventErrorException - if something goes wrongpublic java.lang.String getName()
public void setName(java.lang.String name)
throws EventErrorException
name - the name of the eventEventErrorException - if something goes wrongpublic void signal()
throws ChannelErrorException,
EventErrorException,
LengthErrorException
EventErrorException - if something goes wrongChannelErrorException - if there is a problem with the channelLengthErrorException - if there is a length errorpublic void signal(java.lang.String fromString)
throws ChannelErrorException,
EventErrorException,
LengthErrorException
fromString - the data to signalEventErrorException - if something goes wrongChannelErrorException - if there is a problem with the channelLengthErrorException - if there is a length errorpublic void signal(byte[] fromData)
throws ChannelErrorException,
EventErrorException,
LengthErrorException
fromData - the data to signalEventErrorException - if something goes wrongChannelErrorException - if there is a problem with the channelLengthErrorException - if there is a length errorpublic void signal(byte[] fromData,
int fromLength)
throws ChannelErrorException,
EventErrorException,
LengthErrorException
fromData - the data to signalfromLength - the length of data to signalEventErrorException - if something goes wrongChannelErrorException - if there is a problem with the channelLengthErrorException - if there is a length errorpublic void signal(Channel fromChannel) throws ChannelErrorException, EventErrorException, LengthErrorException
fromChannel - the channelEventErrorException - if something goes wrongChannelErrorException - if there is a problem with the channelLengthErrorException - if there is a length error