Overview
::
Library Doc
::
Server Doc
::
JSON Commands
In Situ Animation of Accelerated Computations
src
InsituConnector.cpp
Go to the documentation of this file.
1
/* This file is part of ISAAC.
2
*
3
* ISAAC is free software: you can redistribute it and/or modify
4
* it under the terms of the GNU Lesser General Public License as
5
* published by the Free Software Foundation, either version 3 of the
6
* License, or (at your option) any later version.
7
*
8
* ISAAC is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public
14
* License along with ISAAC. If not, see <www.gnu.org/licenses/>. */
15
16
#include "
InsituConnector.hpp
"
17
#include "stdio.h"
18
19
InsituConnector::InsituConnector
(
int
sockfd,
int
id
)
20
{
21
this->sockfd = sockfd;
22
this->
id
= id;
23
}
24
25
int
InsituConnector::getID
()
26
{
27
return
id;
28
}
29
30
int
InsituConnector::getSockFD
()
31
{
32
return
sockfd;
33
}
34
35
InsituConnector::~InsituConnector
()
36
{
37
//fclose(sockfile);
38
}
InsituConnector.hpp
InsituConnector::getID
int getID()
Definition:
InsituConnector.cpp:25
InsituConnector::getSockFD
int getSockFD()
Definition:
InsituConnector.cpp:30
InsituConnector::~InsituConnector
~InsituConnector()
Definition:
InsituConnector.cpp:35
InsituConnector::InsituConnector
InsituConnector(int sockfd, int id)
Definition:
InsituConnector.cpp:19
Generated on Wed Dec 14 2016 16:48:57 for ISAAC Server by
1.8.12