Class PendingAllocationResponder

java.lang.Object
com.caplin.motif.fx.trading.Responder<T>
com.caplin.motif.fx.trading.FXResponder<PostTradeAllocationList>
com.caplin.motif.fx.trading.allocation.responder.PendingAllocationResponder

@Deprecated public class PendingAllocationResponder extends FXResponder<PostTradeAllocationList>
Deprecated.
A Responder to respond from within the PendingAllocation state.
See Also:
  • Constructor Details

    • PendingAllocationResponder

      public PendingAllocationResponder(PostTradeAllocationList trade)
      Deprecated.
      Constructs a Responder that can send messages from the PendingAllocation state

      Please use: PostTradeAllocationList.getPendingAllocationResponder() to retrieve an instance

      Parameters:
      trade - The object representing the post allocation trade which the responder can send messages for.
  • Method Details

    • sendAllocationConfirmation

      public void sendAllocationConfirmation(AllocationConfirmationEvent event) throws com.caplin.trading.TradeException
      Deprecated.
      Sends an allocation confirmation to denote that the allocation was successful.
      Parameters:
      event - The event to send.
      Throws:
      com.caplin.trading.TradeException - If there was a problem sending the event