Class LoadBalancerEndPoint

java.lang.Object
com.iizix.server.AbstractEndPoint
com.iizix.server.loadbalancer.LoadBalancerEndPoint
All Implemented Interfaces:
IServerWebSocketCommListener, ITransactionCreator, ITransactionSender, WebSocketCommListener, IEndPoint, IRootPropTransactionSender

public class LoadBalancerEndPoint extends AbstractEndPoint
The Load Balancer end point web socket connection.
Author:
Christopher Mindus
  • Method Details

    • onClientPropsCreated

      protected void onClientPropsCreated(PropCnr root)
      Called when the root is created from a transaction from the client. Override to perform some additional processing such as adding server environment, etc.
      Overrides:
      onClientPropsCreated in class AbstractEndPoint
    • processQueuedTransaction

      protected final boolean processQueuedTransaction(int code, ReadTransaction trans)
      Processes queued transactions.
      Specified by:
      processQueuedTransaction in class AbstractEndPoint
      Parameters:
      code - The transaction code.
      trans - The transaction.
      Returns:
      true if the transaction has been processed, false otherwise.
    • dispose

      public boolean dispose()
      Disposes of the end point.
      Specified by:
      dispose in interface IEndPoint
      Overrides:
      dispose in class AbstractEndPoint
      Returns:
      true if disposed, false if already disposed of.