|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommonCommunicationsService
The CommonCommunicationsService interface is the common interface for communication services.
Field Summary | |
---|---|
static java.lang.String |
CLOSED
|
static java.lang.String |
DATA
|
static java.lang.String |
DATASENT
|
static java.lang.String |
ERROR
|
static java.lang.String |
OPENED
|
static java.lang.String |
RECEIVERC
|
static java.lang.String |
TIMEOUT
|
Method Summary | |
---|---|
void |
ccClose()
Closes the communications sevice. |
void |
ccOpen()
Opens the communications chanel. |
CCMessage |
ccReceiveData(long aTimeout)
Reads the data that has been received. |
void |
ccSendData(java.lang.String aString)
Sends aData thought the communications channel. |
CCMessage |
ccSendReceive(java.lang.String aString,
long aTimeout)
Sends aString to the communication services and waits for aTimeout to receive the data. |
java.lang.String |
getCcClosedEventName()
Returns the name of the closed event. |
java.lang.String |
getCcDataReceivedEventName()
Returns the name of the dataReceived event. |
java.lang.String |
getCcErrorReceivedEventName()
Returns the name of the errorReceived event. |
java.lang.String |
getCcOpenedEventName()
Returns the name of the opened event. |
boolean |
isFree()
Returns true if the communication service is ready to be used. |
boolean |
isOffline()
Returns true if the communication service is offline. |
void |
setInUse(boolean inUse)
Sets service inUse attribute. |
Methods inherited from interface com.ibm.btt.base.ProcessorNotifier |
---|
addHandler, getHandlersList, getName, removeHandler, setName, signalEvent, signalEvent, terminate |
Field Detail |
---|
static final java.lang.String RECEIVERC
static final java.lang.String TIMEOUT
static final java.lang.String DATASENT
static final java.lang.String OPENED
static final java.lang.String CLOSED
static final java.lang.String DATA
static final java.lang.String ERROR
Method Detail |
---|
void ccClose() throws DSECCException
DSECCException
void ccOpen() throws DSECCException
DSECCException
CCMessage ccReceiveData(long aTimeout) throws DSECCException
aTimeout
- long
DSECCException
void ccSendData(java.lang.String aString) throws DSECCException
aString
- java.lang.String
DSECCException
CCMessage ccSendReceive(java.lang.String aString, long aTimeout) throws DSECCException
aString
- java.lang.StringaTimeout
- long
DSECCException
java.lang.String getCcClosedEventName()
java.lang.String getCcDataReceivedEventName()
java.lang.String getCcErrorReceivedEventName()
java.lang.String getCcOpenedEventName()
boolean isFree()
boolean isOffline()
void setInUse(boolean inUse)
inUse
- boolean
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |