|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.cics.server.API
com.ibm.cics.server.AttachInitiator
public class AttachInitiator
This bean is the main interface to APPC.
Constructor Summary | |
---|---|
AttachInitiator()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttachInitiator()
Method Detail |
---|
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
- SYSIDERR
InvalidRequestException
- INVREQ
LengthErrorException
- LENGERR
NotAuthorisedException
- NOTAUTH
NotAllocatedException
- NOTALLOC
SystemBusyException
- SYSBUSYpublic Conversation initiate(byte[] pipdata) throws InvalidSystemIdException, InvalidRequestException, LengthErrorException, NotAuthorisedException, NotAllocatedException, SystemBusyException
pipdata
- data
InvalidSystemIdException
- SYSIDERR
InvalidRequestException
- INVREQ
LengthErrorException
- LENGERR
NotAuthorisedException
- NOTAUTH
NotAllocatedException
- NOTALLOC
SystemBusyException
- SYSBUSYpublic void setProcess(java.lang.String process) throws java.lang.NullPointerException
process
- the name of the process
java.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 profile
java.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 system
java.lang.NullPointerException
- This exception is thrown if a
null name is supplied.
InvalidSystemIdException
- This exception
is thrown if an empty SYSID is supplied.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |