|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.xbus.technical.java.JavaReceiver
public class JavaReceiver
The class JavaReceiver
receives a request via a call of its
receive
method. It creates a Message
-object
and calls the application-layer.
Constructor Summary | |
---|---|
JavaReceiver()
|
Method Summary | |
---|---|
java.lang.String |
getType()
A Receiver can receive data either as a
String or as an Object from a neighboring
system. |
java.lang.Object |
receive(java.lang.String system,
java.lang.Object request)
Receives a request and returns a response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaReceiver()
Method Detail |
---|
public java.lang.Object receive(java.lang.String system, java.lang.Object request) throws XException
XException
public java.lang.String getType()
Receiver
Receiver
can receive data either as a
String
or as an Object
from a neighboring
system.Strings
, getType
returns Constants.TYPE_TEXT
Objects
, getType
returns Constants.TYPE_OBJECT
getType
in interface Receiver
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |