Package org.activecomponents.webservice
Class WebsocketsTestAgent
- java.lang.Object
- 
- org.activecomponents.webservice.WebsocketsTestAgent
 
- 
- All Implemented Interfaces:
- IWebsocketTestService
 
 public class WebsocketsTestAgent extends java.lang.Object implements IWebsocketTestService 
- 
- 
Field SummaryFields Modifier and Type Field Description protected IInternalAccessagent
 - 
Constructor SummaryConstructors Constructor Description WebsocketsTestAgent()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Double>add(double a, double b)Add two numbers.IFuture<java.lang.Integer>add(int a, int b)Add two numbers.ISubscriptionIntermediateFuture<java.lang.Integer>count(int max, long delay)Method with intermediate results.IFuture<java.lang.Void>produceException()Produce some exception.IPullIntermediateFuture<java.lang.String>pull(int max)Method with pullable results.IFuture<java.lang.String>sayHelloTo(java.lang.String name)Say hello to somebody.IFuture<java.lang.String>sayHelloTo(java.lang.String name, java.lang.String name2)Say hello to somebody.
 
- 
- 
- 
Field Detail- 
agentprotected IInternalAccess agent 
 
- 
 - 
Method Detail- 
sayHelloTopublic IFuture<java.lang.String> sayHelloTo(java.lang.String name) Say hello to somebody.- Specified by:
- sayHelloToin interface- IWebsocketTestService
 
 - 
sayHelloTopublic IFuture<java.lang.String> sayHelloTo(java.lang.String name, java.lang.String name2) Say hello to somebody.- Specified by:
- sayHelloToin interface- IWebsocketTestService
 
 - 
produceExceptionpublic IFuture<java.lang.Void> produceException() Produce some exception.- Specified by:
- produceExceptionin interface- IWebsocketTestService
 
 - 
addpublic IFuture<java.lang.Integer> add(int a, int b) Add two numbers.- Specified by:
- addin interface- IWebsocketTestService
 
 - 
addpublic IFuture<java.lang.Double> add(double a, double b) Add two numbers.- Specified by:
- addin interface- IWebsocketTestService
 
 - 
countpublic ISubscriptionIntermediateFuture<java.lang.Integer> count(int max, long delay) Method with intermediate results.- Specified by:
- countin interface- IWebsocketTestService
 
 - 
pullpublic IPullIntermediateFuture<java.lang.String> pull(int max) Method with pullable results.- Specified by:
- pullin interface- IWebsocketTestService
 
 
- 
 
-