org.jboss.errai.bus.server.io
Class EndpointCallback
java.lang.Object
org.jboss.errai.bus.server.io.EndpointCallback
- All Implemented Interfaces:
- MessageCallback
public class EndpointCallback
- extends Object
- implements MessageCallback
EndpointCallback is a callback function for a message being sent. It invokes the endpoint function
specified
Method Summary |
void |
callback(Message message)
Invokes the endpoint function based on the details of the message |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EndpointCallback
public EndpointCallback(Object genericSvc,
Method method)
- Initializes the service and endpoint method
- Parameters:
genericSvc
- - the service that delivers the messagemethod
- - the endpoint function
callback
public void callback(Message message)
- Invokes the endpoint function based on the details of the message
- Specified by:
callback
in interface MessageCallback
- Parameters:
message
- - the message
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.