| 1 |
package org.astrogrid.samp.hub; |
| 2 |
|
| 3 |
import java.util.HashMap; |
| 4 |
import java.util.Map; |
| 5 |
import org.astrogrid.samp.Message; |
| 6 |
import org.astrogrid.samp.client.AbstractMessageHandler; |
| 7 |
import org.astrogrid.samp.client.HubConnection; |
| 8 |
|
| 9 |
/** |
| 10 |
* Implements samp.app.ping MType. |
| 11 |
* |
| 12 |
* @author Mark Taylor |
| 13 |
* @since 21 Nov 2011 |
| 14 |
*/ |
| 15 |
class PingMessageHandler extends AbstractMessageHandler { |
| 16 |
|
| 17 |
/** |
| 18 |
* Constructor. |
| 19 |
*/ |
| 20 |
public PingMessageHandler() { |
| 21 |
super( "samp.app.ping" ); |
| 22 |
} |
| 23 |
|
| 24 |
public Map processCall( HubConnection conn, String senderId, Message msg ) { |
| 25 |
return new HashMap(); |
| 26 |
} |
| 27 |
}; |