summaryrefslogtreecommitdiff
path: root/ACE/apps/JAWS3/small/SS_Data.h
blob: 2c20e464e48d77cd59395f34ef26d05fc8fd469e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* -*- c++ -*- */
// $Id$

#ifndef TERA_SS_DATA_H
#define TERA_SS_DATA_H

#include "ace/OS.h"
#include "ace/FILE_IO.h"
#include "ace/SOCK_Stream.h"
#include "ace/Message_Block.h"

class TeraSS_Service_Handler;

class TeraSS_Data
{
public:

  TeraSS_Data (TeraSS_Service_Handler *sh);

  ACE_SOCK_Stream & peer (void);
  ACE_Message_Block & mb (void);
  ACE_FILE_IO & file_io (void);

private:

  ACE_Message_Block mb_;
  TeraSS_Service_Handler *sh_;
  ACE_FILE_IO file_io_;

};

#endif /* TERA_SS_DATA_H */