test.org.benow.service
Interface TestService
- All Superinterfaces:
- org.benow.java.spec.Markup, Service
- All Known Implementing Classes:
- TestServiceImpl
public interface TestService
- extends Service
This is a test service, which is used to test the service api. It
demonstrates the annotations required for a fully described service.
NOTE: all these methods generate events, which can be received remotely via Services.subscribe()
- Author:
- andy@benow.ca
| Nested classes/interfaces inherited from interface org.benow.java.spec.Markup |
org.benow.java.spec.Markup.ParamName, org.benow.java.spec.Markup.ReturnDescription |
|
Method Summary |
java.lang.String |
echo(java.io.File messsageFile)
Echo's contents of a file |
java.lang.String |
echo(java.lang.String toEcho)
|
java.util.List<java.lang.String> |
echo(java.lang.String returnedMessage,
int repeats)
|
java.lang.String |
secureEcho(java.lang.String toEcho)
|
java.lang.String |
spew()
|
spew
java.lang.String spew()
echo
java.lang.String echo(java.lang.String toEcho)
throws java.io.IOException
- Throws:
java.io.IOException
echo
java.lang.String echo(java.io.File messsageFile)
throws java.io.IOException
- Echo's contents of a file
- Parameters:
messsageFile -
- Returns:
-
- Throws:
java.io.IOException
echo
java.util.List<java.lang.String> echo(java.lang.String returnedMessage,
int repeats)
throws java.io.IOException
- Throws:
java.io.IOException
secureEcho
java.lang.String secureEcho(java.lang.String toEcho)