Logo RedisPubSub Project   v0.9.0
RedisPubSub is an utility with Publisher/Subscirber model based on Redis for J-PARC/MLF.
publisher.cpp File Reference

Publisher based on Redis Publisher/Subscriber utility for J-PARC/MLF. More...

#include <iostream>
#include <sstream>
#include <cstdlib>
#include "RedisPubSub.h"
#include <unistd.h>
Include dependency graph for publisher.cpp:

Functions

int main (int argc, char **argv)
 

Detailed Description

Publisher based on Redis Publisher/Subscriber utility for J-PARC/MLF.

The publisher publishes text data or binary data in simple format. The data will be proccessed by a subscriber called syncSubscriber.

How to compile:
g++ -o publish publish.cpp -lhiredis
How to use:
./publish [f]
f : data are text if f doesnot exist, data are binary if f exists.
Date
25-OCT-2017
Author
Yoshiji Yasu (Yoshi.nosp@m.ji.Y.nosp@m.asu@k.nosp@m.ek.j.nosp@m.p)

Function Documentation

int main ( int  argc,
char **  argv 
)

Here is the call graph for this function: