|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cosylab.epics.caj.impl.requests.AbstractCARequest
com.cosylab.epics.caj.impl.requests.ReadNotifyRequest
public class ReadNotifyRequest
CA read notify.
| Field Summary | |
|---|---|
protected gov.aps.jca.event.GetListener |
callback
Response callback listener. |
protected CAJChannel |
channel
Channel. |
protected CAJContext |
context
Context. |
protected gov.aps.jca.dbr.DBR |
dbr
DBR to be set (sync. |
protected int |
ioid
I/O ID given by the context when registered. |
protected boolean |
prohibitIOCancel
Requested data count. |
protected int |
requestedDataCount
Requested data count. |
protected int |
requestedDataType
Requested data type. |
protected int |
sequenceNumberIO
IO sequence number. |
protected int |
sid
Channel server ID. |
protected boolean |
sync
Sync. |
| Fields inherited from class com.cosylab.epics.caj.impl.requests.AbstractCARequest |
|---|
requestMessage, transport |
| Fields inherited from interface com.cosylab.epics.caj.impl.Request |
|---|
DEFAULT_USER_PRIORITY, MAX_USER_PRIORITY, MIN_USER_PRIORITY, SEND_IMMEDIATELY_PRIORITY |
| Constructor Summary | |
|---|---|
ReadNotifyRequest(CAJChannel channel,
gov.aps.jca.event.GetListener callback,
gov.aps.jca.dbr.DBR dbr,
Transport transport,
int sid,
int dataType,
int dataCount)
|
|
| Method Summary | |
|---|---|
void |
cancel()
Cancel response request (allways to be called to complete/destroy). |
void |
exception(int errorCode,
String errorMessage)
Exception response notification. |
int |
getIOID()
Get I/O ID. |
void |
response(int status,
short dataType,
int dataCount,
ByteBuffer dataPayloadBuffer)
Notification response. |
void |
submit()
If sync. |
void |
timeout()
Timeout notification. |
| Methods inherited from class com.cosylab.epics.caj.impl.requests.AbstractCARequest |
|---|
alignBuffer, calculateAlignedSize, generateRequestMessage, getPriority, getRequestMessage, insertCAHeader |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CAJContext context
protected int ioid
protected int sid
protected gov.aps.jca.event.GetListener callback
protected gov.aps.jca.dbr.DBR dbr
protected boolean sync
protected int sequenceNumberIO
protected CAJChannel channel
protected int requestedDataType
protected int requestedDataCount
protected boolean prohibitIOCancel
| Constructor Detail |
|---|
public ReadNotifyRequest(CAJChannel channel,
gov.aps.jca.event.GetListener callback,
gov.aps.jca.dbr.DBR dbr,
Transport transport,
int sid,
int dataType,
int dataCount)
channel - callback - dbr - transport - sid - dataType - dataCount - | Method Detail |
|---|
public int getIOID()
ResponseRequest
getIOID in interface ResponseRequestResponseRequest.getIOID()
public void response(int status,
short dataType,
int dataCount,
ByteBuffer dataPayloadBuffer)
NotifyResponseRequest
response in interface NotifyResponseRequestNotifyResponseRequest.response(int, short, int, java.nio.ByteBuffer)
public void submit()
throws IOException
submit in interface Requestsubmit in class AbstractCARequestIOExceptionRequest.submit()public void cancel()
ResponseRequest
cancel in interface ResponseRequestResponseRequest.cancel()public void timeout()
ResponseRequest
timeout in interface ResponseRequestResponseRequest.timeout()
public void exception(int errorCode,
String errorMessage)
ResponseRequest
exception in interface ResponseRequesterrorCode - exception code.errorMessage - received detailed message.ResponseRequest.exception(int, java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||