Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
eventReceiverClient.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file eventReceiverClient.h
1
#ifndef __EVENTRECEIVERCLIENT_H__
2
#define __EVENTRECEIVERCLIENT_H__
3
4
5
#include <string>
6
#include <netinet/in.h>
7
8
9
class
Event
;
10
11
class
eventReceiverClient
12
{
13
public
:
14
eventReceiverClient
(
const
std::string
hostname,
const
int
flags=0);
15
~eventReceiverClient
();
16
17
Event
*
getEvent
(
const
int
eventnumber,
const
int
flag = 0);
18
void
setVerbosity
(
const
int
v
) {
_verbosity
=
v
;};
19
int
getVerbosity
()
const
{
return
_verbosity
;};
20
int
getStatus
()
const
{
return
_broken
;};
21
22
protected
:
23
24
int
_sockfd
;
25
int
_flags
;
26
int
_broken
;
27
int
_verbosity
;
28
29
std::string
_hostname
;
30
struct
sockaddr_in
_serveraddr
;
31
32
struct
hostent *
_phost
;
33
34
35
36
};
37
38
#endif
online_distribution
blob
master
newbasic
eventReceiverClient.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:27
using
1.8.2 with
sPHENIX GitHub integration