Class LogoutSpoutImpl

java.lang.Object
overit.geocall.event.producer.JsonSpout<LogoutEvent,Logout>
overit.geocall.basic.bl.accounting.spout.LogoutSpoutImpl
All Implemented Interfaces:
Spout<LogoutEvent,Logout,String>

@Event(LogoutEvent.class) @Component public class LogoutSpoutImpl extends JsonSpout<LogoutEvent,Logout>
Spout for the event LoginEvent to serialize the event into Logout.
GCApi:
spout
  • Constructor Details

    • LogoutSpoutImpl

      public LogoutSpoutImpl()
  • Method Details

    • getPayload

      public Logout getPayload(PoolKit pk, LogoutEvent event)
      Description copied from interface: Spout
      Extracts the payload from the given event using the provided PoolKit.
      Parameters:
      pk - the PoolKit instance used for database operations
      event - the event from which to extract the payload
      Returns:
      the extracted payload of type P