controllers
Class UdpPingController

java.lang.Object
  extended by controllers.UdpPingController

@Singleton
public class UdpPingController
extends Object

Counts the number of UDP packets received, demonstrates the lifecycle capabilities of the framework


Constructor Summary
UdpPingController()
           
 
Method Summary
 Result getCount(Context ctx)
           
 void startReceiving()
           
 void stopReceiving()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UdpPingController

public UdpPingController()
Method Detail

startReceiving

public void startReceiving()
                    throws IOException
Throws:
IOException

stopReceiving

public void stopReceiving()

getCount

public Result getCount(Context ctx)


Copyright © 2013. All Rights Reserved.