Package com.trendrr.strest.server.connections

Examples of com.trendrr.strest.server.connections.StrestConnectionTxn


   

  }
 
  public void send(String to, String from, String message) throws StrestException {
    StrestConnectionTxn con = this.notifyMessage.get(to);
    if (con == null) {
      throw new StrestHttpException(501, "Unknown user");
    }
    DynMap mp = new DynMap();
    mp.put("to", to);
    mp.put("from", from);
    mp.put("message", message);
    con.sendMessage(new ResponseBuilder().txnStatusContinue().contentJSON(mp));
  }
View Full Code Here

TOP

Related Classes of com.trendrr.strest.server.connections.StrestConnectionTxn

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.