Public Member Functions | |
| HyodaTcp (Hyoda *, ISubDomain *, ITraceMng *, Integer, Integer, Integer, bool=false) | |
| void | send (const void *, size_t) |
| void | recvPov (double *) |
| void | recvPov (double *, int) |
| void | waitForAcknowledgment (void) |
| void | sendAcknowledgmentPacket (void) |
| void | recvPacket (char *pov, int maxSize, int ms_timeout) |
| void | disconect (void) |
| Integer | payload (void) |
| void | handshake (void) |
| void | getVariableCollectionAndSendItToHost (void) |
| Public Member Functions inherited from Arcane::TraceAccessor | |
| TraceAccessor (ITraceMng *m) | |
| Constructs an accessor via the trace manager m. | |
| TraceAccessor (const TraceAccessor &rhs) | |
| Copy constructor. | |
| TraceAccessor & | operator= (const TraceAccessor &rhs) |
| Copy assignment operator. | |
| virtual | ~TraceAccessor () |
| Frees resources. | |
| ITraceMng * | traceMng () const |
| Trace manager. | |
| TraceMessage | info () const |
| Flow for an information message. | |
| TraceMessage | pinfo () const |
| Flow for a parallel information message. | |
| TraceMessage | info (char category) const |
| Flow for an information message of a given category. | |
| TraceMessage | pinfo (char category) const |
| Flow for a parallel information message of a given category. | |
| TraceMessage | info (bool v) const |
| Flow for an information message. | |
| TraceMessage | warning () const |
| Flow for a warning message. | |
| TraceMessage | pwarning () const |
| TraceMessage | error () const |
| Flow for an error message. | |
| TraceMessage | perror () const |
| TraceMessage | log () const |
| Flow for a log message. | |
| TraceMessage | plog () const |
| Flow for a log message. | |
| TraceMessage | logdate () const |
| Flow for a log message preceded by the date. | |
| TraceMessage | fatal () const |
| Flow for a fatal error message. | |
| TraceMessage | pfatal () const |
| Flow for a parallel fatal error message. | |
| TraceMessageDbg | debug (Trace::eDebugLevel=Trace::Medium) const |
| Flow for a debug message. | |
| Trace::eDebugLevel | configDbgLevel () const |
| Debug level of the configuration file. | |
| TraceMessage | info (Int32 verbose_level) const |
| Flow for an information message of a given level. | |
| TraceMessage | linfo () const |
| Flow for an information message with the local information level of this instance. | |
| TraceMessage | linfo (Int32 relative_level) const |
| Flow for an information message with the local information level of this instance. | |
| void | fatalMessage (const StandaloneTraceMessage &o) const |
Private Member Functions | |
| ssize_t | wData (int sockd, const void *vptr, size_t n) |
| ssize_t | rData (int sockd, void *vptr, size_t maxlen) |
| int | checkTcpError (int error) |
Private Attributes | |
| Hyoda * | hyoda |
| ISubDomain * | m_sub_domain |
| size_t | m_payload |
| int | m_sockfd |
| struct sockaddr_in * | m_servaddr |
| nfds_t | m_nfds |
| struct pollfd * | m_fds |
Additional Inherited Members | |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
Definition at line 31 of file HyodaTcp.h.
| Arcane::HyodaTcp::HyodaTcp | ( | Hyoda * | _hyoda, |
| ISubDomain * | sd, | ||
| ITraceMng * | tm, | ||
| Integer | adrs, | ||
| Integer | port, | ||
| Integer | pyld, | ||
| bool | break_at_startup = false ) |
Definition at line 51 of file HyodaTcp.cc.
| Arcane::HyodaTcp::~HyodaTcp | ( | ) |
Definition at line 93 of file HyodaTcp.cc.
|
private |
Definition at line 388 of file HyodaTcp.cc.
| void Arcane::HyodaTcp::disconect | ( | void | ) |
Definition at line 103 of file HyodaTcp.cc.
| void Arcane::HyodaTcp::getVariableCollectionAndSendItToHost | ( | void | ) |
Definition at line 190 of file HyodaTcp.cc.
| void Arcane::HyodaTcp::handshake | ( | void | ) |
Definition at line 113 of file HyodaTcp.cc.
|
inline |
Definition at line 44 of file HyodaTcp.h.
|
private |
Definition at line 354 of file HyodaTcp.cc.
| void Arcane::HyodaTcp::recvPacket | ( | char * | pov, |
| int | maxSize, | ||
| int | ms_timeout ) |
Definition at line 337 of file HyodaTcp.cc.
| void Arcane::HyodaTcp::recvPov | ( | double * | pov | ) |
Definition at line 299 of file HyodaTcp.cc.
| void Arcane::HyodaTcp::recvPov | ( | double * | pov, |
| int | ms_timeout ) |
Definition at line 305 of file HyodaTcp.cc.
| void Arcane::HyodaTcp::send | ( | const void * | data, |
| size_t | nleft ) |
Definition at line 253 of file HyodaTcp.cc.
| void Arcane::HyodaTcp::sendAcknowledgmentPacket | ( | void | ) |
Definition at line 317 of file HyodaTcp.cc.
| void Arcane::HyodaTcp::waitForAcknowledgment | ( | void | ) |
Definition at line 327 of file HyodaTcp.cc.
|
private |
Definition at line 275 of file HyodaTcp.cc.
|
private |
Definition at line 52 of file HyodaTcp.h.
|
private |
Definition at line 58 of file HyodaTcp.h.
|
private |
Definition at line 57 of file HyodaTcp.h.
|
private |
Definition at line 54 of file HyodaTcp.h.
|
private |
Definition at line 56 of file HyodaTcp.h.
|
private |
Definition at line 55 of file HyodaTcp.h.
|
private |
Definition at line 53 of file HyodaTcp.h.