7 #ifndef __zeromq_ZeroCatalog_h__ 8 #define __zeromq_ZeroCatalog_h__ 29 void initialize(
void);
33 virtual Result disconnect(
void)
override;
35 virtual Result connectAsServer(
String a_address,U16 a_port)
override;
36 virtual Result connectAsClient(
String a_address,U16 a_port)
override;
42 I32 a_includeCount,
const String* a_pIncludes,
43 I32 a_excludeCount,
const String* a_pExcludes,
44 const U8* a_pRawBytes=NULL,I32 a_byteCount=0)
override;
46 void sendString(
String a_textD);
47 void sendBytes(
const U8* a_pByteBlock,I32 a_byteCountD);
49 class FE_DL_EXPORT ReceiverTask:
public Thread::Functor
53 virtual ~ReceiverTask(
void);
54 virtual void operate(
void);
57 String a_address,U16 a_port);
59 String a_address,U16 a_port);
62 I32 readBuffer(
void** a_ppBuffer,zmq_msg_t* a_pMsg);
63 I32 readString(
String& a_rString);
65 I32 readIdentity(Identity& a_identity);
71 std::atomic<bool> m_terminate;
83 std::atomic<bool> m_available;
86 Thread* m_pReceiverThread;
87 ReceiverTask m_receiverTask;
ConnectedCatalog over ZeroMQ.
Definition: ZeroCatalog.h:20
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
StateCatalog with connected mirroring.
Definition: ConnectedCatalog.h:70
Automatically reference-counted string container.
Definition: String.h:128
Object level locking for thread safety.
Definition: SafeShared.h:220