Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.83 KB | None | 0 0
  1. package ws;
  2.  
  3. import javax.jws.WebMethod;
  4. import javax.jws.WebService;
  5.  
  6. @WebService
  7. public interface SpServer {
  8.    
  9.     @WebMethod
  10.     public String subscribe(String email, String region, String emailtype, String origin);
  11.     @WebMethod
  12.     public String unsubscribe(String email);
  13.     @WebMethod
  14.     public String addNews(String news);
  15.     @WebMethod
  16.     public int statsNewsProcessed();
  17.     @WebMethod
  18.     public int statsNewsProcessedUS();
  19.     @WebMethod
  20.     public int statsNewsProcessedAfrica();
  21.     @WebMethod
  22.     public int statsNewsProcessedAsia();
  23.     @WebMethod
  24.     public int statsNewsProcessedEurope();
  25.     @WebMethod
  26.     public int statsNewsProcessedLatinAmerica();
  27.     @WebMethod
  28.     public int statsNewsProcessedMiddleEast();
  29.     @WebMethod
  30.     public int statsDigestEmails();
  31.     @WebMethod
  32.     public int statsNonDigestEmails();
  33.     @WebMethod
  34.     public int statsTwitter();
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement