Search in sources :

Example 6 with GreetResponse

use of com.tvd12.ezyfoxserver.support.test.data.GreetResponse in project ezyfox-server by youngmonkeys.

the class HelloController method greet.

@EzyDoHandle("Hello")
public void greet(GreetRequest request, EzyUser user, EzySession session) {
    GreetResponse response = new GreetResponse("Hello " + request.getWho() + "!");
    System.out.println("HelloController::Big/Hello response: " + response);
}
Also used : GreetResponse(com.tvd12.ezyfoxserver.support.test.data.GreetResponse) EzyDoHandle(com.tvd12.ezyfox.core.annotation.EzyDoHandle)

Example 7 with GreetResponse

use of com.tvd12.ezyfoxserver.support.test.data.GreetResponse in project ezyfox-server by youngmonkeys.

the class HelloController method greet.

@EzyDoHandle("Hello5")
public void greet(@EzyRequestData GreetRequest request, EzyUser user, EzySession session, char nothing) {
    GreetResponse response = new GreetResponse("Hello " + request.getWho() + "!");
    System.out.println("HelloController::Big/Hello response: " + response);
}
Also used : GreetResponse(com.tvd12.ezyfoxserver.support.test.data.GreetResponse) EzyDoHandle(com.tvd12.ezyfox.core.annotation.EzyDoHandle)

Example 8 with GreetResponse

use of com.tvd12.ezyfoxserver.support.test.data.GreetResponse in project ezyfox-server by youngmonkeys.

the class HelloController method greet.

@EzyDoHandle("Hello4")
public void greet(@EzyRequestData GreetRequest request, EzyUser user, EzySession session, boolean nothing) {
    GreetResponse response = new GreetResponse("Hello " + request.getWho() + "!");
    System.out.println("HelloController::Big/Hello response: " + response);
}
Also used : GreetResponse(com.tvd12.ezyfoxserver.support.test.data.GreetResponse) EzyDoHandle(com.tvd12.ezyfox.core.annotation.EzyDoHandle)

Example 9 with GreetResponse

use of com.tvd12.ezyfoxserver.support.test.data.GreetResponse in project ezyfox-server by youngmonkeys.

the class HelloController method greet.

@EzyDoHandle("Hello3")
public void greet(@EzyRequestData GreetRequest request, EzyUser user, EzySession session, int nothing) {
    GreetResponse response = new GreetResponse("Hello " + request.getWho() + "!");
    System.out.println("HelloController::Big/Hello response: " + response);
}
Also used : GreetResponse(com.tvd12.ezyfoxserver.support.test.data.GreetResponse) EzyDoHandle(com.tvd12.ezyfox.core.annotation.EzyDoHandle)

Aggregations

GreetResponse (com.tvd12.ezyfoxserver.support.test.data.GreetResponse)8 EzyDoHandle (com.tvd12.ezyfox.core.annotation.EzyDoHandle)7 EzyAppContext (com.tvd12.ezyfoxserver.context.EzyAppContext)1 EzySession (com.tvd12.ezyfoxserver.entity.EzySession)1 EzySimpleUser (com.tvd12.ezyfoxserver.entity.EzySimpleUser)1 EzyUser (com.tvd12.ezyfoxserver.entity.EzyUser)1 EzySimpleUserSessionEvent (com.tvd12.ezyfoxserver.event.EzySimpleUserSessionEvent)1 EzyUserSessionEvent (com.tvd12.ezyfoxserver.event.EzyUserSessionEvent)1 EzyRequestHandlersImplementer (com.tvd12.ezyfoxserver.support.asm.EzyRequestHandlersImplementer)1 EzyObjectResponse (com.tvd12.ezyfoxserver.support.command.EzyObjectResponse)1 EzyResponseFactory (com.tvd12.ezyfoxserver.support.factory.EzyResponseFactory)1 EzyUserRequestHandler (com.tvd12.ezyfoxserver.support.handler.EzyUserRequestHandler)1 EzyFeatureCommandManager (com.tvd12.ezyfoxserver.support.manager.EzyFeatureCommandManager)1 EzyRequestCommandManager (com.tvd12.ezyfoxserver.support.manager.EzyRequestCommandManager)1 HelloController (com.tvd12.ezyfoxserver.support.test.controller.HelloController)1 GreetRequest (com.tvd12.ezyfoxserver.support.test.data.GreetRequest)1 QuickRpcClient (com.tvd12.quick.rpc.client.QuickRpcClient)1 GreetRequest (com.tvd12.quick.rpc.examples.hello_world.data.GreetRequest)1 GreetResponse (com.tvd12.quick.rpc.examples.hello_world.data.GreetResponse)1 Test (org.testng.annotations.Test)1