|
The Meta-Environment API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDataHandler
DataHandlers proces the data and supply the data for ioHandlers.
| Method Summary | |
|---|---|
void |
exceptionOccured()
Notifies the data handler that an exception has occured so it can take the necessary steps. |
void |
receive(byte operation,
aterm.ATerm aTerm)
Receives a term from the associated ioHandler. |
void |
send(byte operation,
aterm.ATerm aTerm)
Forwards a term to the associated ioHandler. |
void |
setIOHandler(IIOHandler ioHandler)
Associates an ioHandler with the data handler. |
void |
shutDown()
Shuts down this dataHandler. |
void |
terminate()
Requests the termination of this dataHandler. |
| Method Detail |
|---|
void setIOHandler(IIOHandler ioHandler)
ioHandler - The I/O handler we need to associate with the data handler.
void send(byte operation,
aterm.ATerm aTerm)
operation - The operation associated with the term we need to send.aTerm - The term that needs to be transmitted.
void receive(byte operation,
aterm.ATerm aTerm)
operation - The operation associate with the term we received.aTerm - The term that was received.void terminate()
void shutDown()
void exceptionOccured()
|
The Meta-Environment API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||