org.red5.samples.services
Interface IEchoService

All Known Implementing Classes:
EchoService

public interface IEchoService

The Echo service is used to test all of the different datatypes and to make sure that they are being returned properly.

Author:
The Red5 Project (red5@osflash.org), Chris Allen (mrchrisallen@gmail.com)

Method Summary
 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.
<T> List<T>
echoList(List<? extends T> list)
          Verifies that a Flash multi-dimensional Array that is passed in returns itself.
 double echoNumber(double num)
          Verifies that a Number that is passed in returns correctly.
<K,V> Map<K,V>
echoObject(Map<? extends K,? extends V> 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.
 void startUp()
          Used to verify that Spring has loaded the bean.
 

Method Detail

startUp

void startUp()
Used to verify that Spring has loaded the bean.


echoBoolean

boolean echoBoolean(boolean bool)
Verifies that a boolean that is passed in returns correctly.

Parameters:
bool -
Returns:
input value

echoNumber

double echoNumber(double num)
Verifies that a Number that is passed in returns correctly. Flash Number = double

Parameters:
num -
Returns:
input value

echoString

String echoString(String string)
Verifies that a String that is passed in returns correctly.

Parameters:
string -
Returns:
input value

echoDate

Date echoDate(Date date)
Verifies that a Date that is passed in returns correctly.

Parameters:
date -
Returns:
input value

echoObject

<K,V> Map<K,V> echoObject(Map<? extends K,? extends V> obj)
Verifies that a Flash Object that is passed in returns correctly. Flash Object = java.utils.Map

Parameters:
obj -
Returns:
input value

echoArray

Object[] echoArray(Object[] array)
Verifies that a Flash simple Array that is passed in returns correctly. Flash simple Array = Object[]

Parameters:
array -
Returns:
input value

echoList

<T> List<T> echoList(List<? extends T> list)
Verifies that a Flash multi-dimensional Array that is passed in returns itself. Flash multi-dimensional Array = java.utils.List

Parameters:
list -
Returns:
input value

echoXML

Document echoXML(Document xml)
Verifies that Flash XML that is passed in returns itself. Flash XML = org.w3c.dom.Document

Parameters:
xml -
Returns:
input value


Copyright © 2006-2007 the Red5 project.