|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.cics.server.Event
public class Event
This is the Java implementation of the EXEC CICS SIGNAL EVENT command.
Constructor Summary | |
---|---|
Event()
Construct an Event with no name. |
|
Event(java.lang.String name)
Construct an Event with the supplied name. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Event()
public Event(java.lang.String name) throws EventErrorException
name
- the name of the Event
EventErrorException
- if something goes wrongMethod Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name) throws EventErrorException
name
- the name of the event
EventErrorException
- if something goes wrongpublic void signal() throws ChannelErrorException, EventErrorException, LengthErrorException
EventErrorException
- if something goes wrong
ChannelErrorException
- if there is a problem with the channel
LengthErrorException
- if there is a length errorpublic void signal(java.lang.String fromString) throws ChannelErrorException, EventErrorException, LengthErrorException
fromString
- the data to signal
EventErrorException
- if something goes wrong
ChannelErrorException
- if there is a problem with the channel
LengthErrorException
- if there is a length errorpublic void signal(byte[] fromData) throws ChannelErrorException, EventErrorException, LengthErrorException
fromData
- the data to signal
EventErrorException
- if something goes wrong
ChannelErrorException
- if there is a problem with the channel
LengthErrorException
- 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 signal
EventErrorException
- if something goes wrong
ChannelErrorException
- if there is a problem with the channel
LengthErrorException
- if there is a length errorpublic void signal(Channel fromChannel) throws ChannelErrorException, EventErrorException, LengthErrorException
fromChannel
- the channel
EventErrorException
- if something goes wrong
ChannelErrorException
- if there is a problem with the channel
LengthErrorException
- if there is a length error
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |