Skip to main content

Application Development Kit (Version 4.10)


EventPipe Class Reference

Last updated: 07-Apr-2025

#include <libcom3.h>

Public Member Functions

  EventPipe (event::EventType type)
  ~EventPipe ()
  EventPipe (const EventPipe &eventPipe)
void  operator= (const EventPipe &eventPipe)
enum status::PipeStatus  recv (vfiipc::JSObject &out, Milliseconds millis)
enum status::PipeStatus  recv (vfiipc::JSObject &out, Milliseconds millis, int interruptFD)

Constructor & Destructor Documentation

◆ EventPipe() [1/2]

◆ ~EventPipe()

~EventPipe ( )

◆ EventPipe() [2/2]

EventPipe ( const EventPipe eventPipe )

Member Function Documentation

◆ operator=()

void operator= ( const EventPipe eventPipe )

◆ recv() [1/2]

enum status::PipeStatus recv ( vfiipc::JSObject out,
Milliseconds  millis 
)

Read the next event If the message is interrupted (return code is ERR_USER_INTERRUPT or ERR_TIMEOUT) the EventPipe is still valid and can be used again.

Parameters
[out] out Response. Will be changed only if return is OK
[in] millis Milliseconds to wait for an event
Returns
OK in case of success, else failure code

◆ recv() [2/2]

enum status::PipeStatus recv ( vfiipc::JSObject out,
Milliseconds  millis,
int  interruptFD 
)

Read the next event If the message is interrupted (return code is ERR_USER_INTERRUPT or ERR_TIMEOUT) the EventPipe is still valid and can be used again.

Parameters
[out] out Response. Will be changed only if return is OK
[in] millis Milliseconds to wait for an event
[in] interruptFD FD to listen for activity. Once activity is detected the function will return with error code ERR_USER_INTERRUPT
Returns
OK in case of success, else failure code

The documentation for this class was generated from the following file:

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo