|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.red5.samples.services.EchoService
public class EchoService
The Echo service is used to test all of the different datatypes and to make sure that they are being returned properly.
| Nested Class Summary | |
|---|---|
class |
EchoService.SampleObject
Sample object that contains attributes with all access possibilities. |
| Constructor Summary | |
|---|---|
EchoService()
|
|
| Method Summary | |
|---|---|
Object |
echoAny(Object any)
|
Object[] |
echoArray(Object[] array)
Verifies that a Flash simple Array that is passed in returns correctly. |
boolean |
echoBoolean(boolean bool)
Verifies that a boolean that is passed in returns correctly. |
Date |
echoDate(Date date)
Verifies that a Date that is passed in returns correctly. |
List |
echoList(List list)
Verifies that a Flash multi-dimensional Array that is passed in returns itself. |
Object[] |
echoMultiParam(Map team,
List words,
String str)
|
double |
echoNumber(double number)
Verifies that a Number that is passed in returns correctly. |
Map |
echoObject(Map obj)
Verifies that a Flash Object that is passed in returns correctly. |
String |
echoString(String string)
Verifies that a String that is passed in returns correctly. |
Document |
echoXML(Document xml)
Verifies that Flash XML that is passed in returns itself. |
IConnection |
returnConnection(Object any)
Test returning of internal objects. |
List<Object> |
returnDistinctObjects(Object any)
Test serialization of arbitrary objects. |
List<Object> |
returnSameObjects(Object any)
Test references. |
void |
startUp()
Used to verify that Spring has loaded the bean. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EchoService()
| Method Detail |
|---|
public void startUp()
startUp in interface IEchoServicepublic boolean echoBoolean(boolean bool)
IEchoService
echoBoolean in interface IEchoServiceIEchoService.echoBoolean(boolean)public double echoNumber(double number)
IEchoService
echoNumber in interface IEchoServiceIEchoService.echoNumber(double)public String echoString(String string)
IEchoService
echoString in interface IEchoServiceIEchoService.echoString(java.lang.String)public Date echoDate(Date date)
IEchoService
echoDate in interface IEchoServiceIEchoService.echoDate(java.util.Date)public Map echoObject(Map obj)
IEchoService
echoObject in interface IEchoServiceIEchoService.echoObject(java.util.Map)public Object[] echoArray(Object[] array)
IEchoService
echoArray in interface IEchoServiceIEchoService.echoArray(java.lang.Object[])public List echoList(List list)
IEchoService
echoList in interface IEchoServiceIEchoService.echoList(java.util.List)public Document echoXML(Document xml)
IEchoService
echoXML in interface IEchoServiceIEchoService.echoXML(org.w3c.dom.Document)
public Object[] echoMultiParam(Map team,
List words,
String str)
public Object echoAny(Object any)
public List<Object> returnDistinctObjects(Object any)
any -
public List<Object> returnSameObjects(Object any)
any -
public IConnection returnConnection(Object any)
any -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||