Package asia.stampy.common.heartbeat

Examples of asia.stampy.common.heartbeat.HeartbeatContainer


   * Initialize.
   *
   * @return the server mina message gateway
   */
  public static AbstractStampyMessageGateway initialize() {
    StampyHeartbeatContainer heartbeatContainer = new HeartbeatContainer();

    ServerMinaMessageGateway gateway = new ServerMinaMessageGateway();
    gateway.setPort(1234);

    RawServerMinaHandler handler = new RawServerMinaHandler();
View Full Code Here


   * Initialize.
   *
   * @return the client mina message gateway
   */
  public static AbstractStampyMessageGateway initialize() {
    StampyHeartbeatContainer heartbeatContainer = new HeartbeatContainer();

    NettyAutoTerminatingClientGateway gateway = new NettyAutoTerminatingClientGateway();
    gateway.setAutoShutdown(true);
    gateway.setPort(1234);
    gateway.setHost("localhost");
View Full Code Here

TOP

Related Classes of asia.stampy.common.heartbeat.HeartbeatContainer

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.