public class AttachInitiator extends API implements java.io.Serializable
This bean is the main interface to APPC.
com.ibm.cics.server.API
for general restrictions on using the JCICS API.
,
Serialized FormConstructor and Description |
---|
AttachInitiator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProcess() |
java.lang.String |
getProfile() |
boolean |
getQueue() |
SyncLevel |
getSyncLevel() |
java.lang.String |
getSysId() |
Conversation |
initiate() |
Conversation |
initiate(byte[] pipdata) |
void |
setProcess(java.lang.String process)
Sets the process of the attach.
|
void |
setProfile(java.lang.String profile)
Sets the profile of the attach.
|
void |
setQueue(boolean queue) |
void |
setSyncLevel(SyncLevel syncLevel) |
void |
setSysId(java.lang.String sysId)
Sets the SYSID of the remote region that this Attach is targeted at.
|
public java.lang.String getProcess()
public java.lang.String getProfile()
public boolean getQueue()
public SyncLevel getSyncLevel()
public java.lang.String getSysId()
public Conversation initiate() throws InvalidSystemIdException, InvalidRequestException, LengthErrorException, NotAuthorisedException, NotAllocatedException, SystemBusyException
InvalidSystemIdException
- SYSIDERRInvalidRequestException
- INVREQLengthErrorException
- LENGERRNotAuthorisedException
- NOTAUTHNotAllocatedException
- NOTALLOCSystemBusyException
- SYSBUSYpublic Conversation initiate(byte[] pipdata) throws InvalidSystemIdException, InvalidRequestException, LengthErrorException, NotAuthorisedException, NotAllocatedException, SystemBusyException
pipdata
- dataInvalidSystemIdException
- SYSIDERRInvalidRequestException
- INVREQLengthErrorException
- LENGERRNotAuthorisedException
- NOTAUTHNotAllocatedException
- NOTALLOCSystemBusyException
- SYSBUSYpublic void setProcess(java.lang.String process) throws java.lang.NullPointerException
process
- the name of the processjava.lang.NullPointerException
- This exception is thrown if a
null process name is supplied.public void setProfile(java.lang.String profile) throws java.lang.NullPointerException
profile
- the name of the profilejava.lang.NullPointerException
- This exception is thrown if a
null profile name is supplied.public void setQueue(boolean queue)
queue
- the queue namepublic void setSyncLevel(SyncLevel syncLevel)
syncLevel
- the sync levelpublic void setSysId(java.lang.String sysId) throws java.lang.NullPointerException, InvalidSystemIdException
sysId
- the name of the CICS systemjava.lang.NullPointerException
- This exception is thrown if a
null name is supplied.InvalidSystemIdException
- This exception
is thrown if an empty SYSID is supplied.