TOutputObjectSocket class Reference

メインページ モジュール クラス階層 アルファベット順一覧 構成 ファイル一覧 構成メンバ ファイルメンバ 関連ページ

# クラス TOutputObjectSocket の解説

`#include <TOutputObjectSocket.hh>`

TOutputObjectSocketに対する継承グラフ

[凡例]
TOutputObjectSocketのコラボレーション図

[凡例]
すべてのメンバ一覧

## Public メソッド
| TOutputObjectSocket (const Tstring &hostname="localhost", Tint port=tDefaultPortNumber)
| TOutputObjectSocket (Tint port)
| TOutputObjectSocket (TObjectFilter *filter, const Tstring &hostname="localhost", Tint port=tDefaultPortNumber)
| TOutputObjectSocket (TObjectFilter *filter, Tint port)
| ~TOutputObjectSocket ()
Tint | Write (TStreamableObject &object)
const Tstring & | GetServerName () const
Tint | GetServerDescriptor () const
Tint | GetPortNumber () const
Tint | OpenServer ()
Tint | CloseServer ()
Tstream_t | GetStreamType () const
Tvoid | SetStreamType (Tstream_t streamtype)
TObjectFilter * | GetObjectFilter () const
Tvoid | SetObjectFilter (TObjectFilter *filter)
Tbool | HasFilter () const
Tint | GetDataSize () const
Tint | GetLastDataSize () const
Tvoid | SetDataSize (Tint datasize)
Tvoid | SetLastDataSize (Tint datasize)
Tint | GetTotalDataSize () const
## Protected 型
enum | { tDefaultPortNumber = 18150 }
## Protected 変数
Tint | theServerDescriptor
Tint | thePortNumber
sockaddr_in | theAddress
TObjectFilter * | theObjectFilter
Tstream_t | theStreamType
Tint | theDataSize
Tint | theLastDataSize
Tint | theTotalDataSize
## フレンド
Tint | operator<< (TOutputObjectStream &left, TStreamableObject &object)
Tint | operator<< (TOutputObjectStream &left, const TStreamableObject &object)

## Enum の解説

anonymous enum`[protected, inherited]`

  | Enum 値:
  tDefaultPortNumber |

## コンストラクタとデストラクタの解説

TOutputObjectSocket::TOutputObjectSocket | ( | const Tstring & | hostname = "localhost",
|  | Tint | port = tDefaultPortNumber
| ) |

TOutputObjectSocket::TOutputObjectSocket | ( | Tint | port | ) |

TOutputObjectSocket::TOutputObjectSocket | ( | TObjectFilter * | filter,
|  | const Tstring & | hostname = "localhost",
|  | Tint | port = tDefaultPortNumber
| ) |

TOutputObjectSocket::TOutputObjectSocket | ( | TObjectFilter * | filter,
|  | Tint | port
| ) |

TOutputObjectSocket::~TOutputObjectSocket | ( |  | ) |

## メソッドの解説

Tint TObjectSocket::CloseServer | ( |  | ) | `[inherited]`

Tint TObjectStream::GetDataSize | ( |  | ) | `[inline, inherited]`

Tint TObjectStream::GetLastDataSize | ( |  | ) | `[inline, inherited]`

TObjectFilter * TObjectStream::GetObjectFilter | ( |  | ) | `[inline, inherited]`

Tint TObjectSocket::GetPortNumber | ( |  | ) | `[inline, inherited]`

Tint TObjectSocket::GetServerDescriptor | ( |  | ) | `[inline, inherited]`

const Tstring & TOutputObjectSocket::GetServerName | ( |  | ) | `[inline]`

Tstream_t TObjectStream::GetStreamType | ( |  | ) | `[inline, inherited]`

Tint TObjectStream::GetTotalDataSize | ( |  | ) | `[inline, inherited]`

Tbool TObjectStream::HasFilter | ( |  | ) | `[inline, inherited]`

Tint TObjectSocket::OpenServer | ( |  | ) | `[inherited]`

Tvoid TObjectStream::SetDataSize | ( | Tint | datasize | ) | `[inline, inherited]`

Tvoid TObjectStream::SetLastDataSize | ( | Tint | datasize | ) | `[inline, inherited]`

Tvoid TObjectStream::SetObjectFilter | ( | TObjectFilter * | filter | ) | `[inline, inherited]`

Tvoid TObjectStream::SetStreamType | ( | Tstream_t | streamtype | ) | `[inline, inherited]`

Tint TOutputObjectSocket::Write | ( | TStreamableObject & | object | ) | `[virtual]`

| TOutputObjectStreamに実装されています.

## フレンドと関連する関数の解説

Tint operator<< | ( | TOutputObjectStream & | left,
|  | const TStreamableObject & | object
| ) | `[friend, inherited]`

Tint operator<< | ( | TOutputObjectStream & | left,
|  | TStreamableObject & | object
| ) | `[friend, inherited]`

## 変数の解説

struct sockaddr_in TObjectSocket::theAddress`[protected, inherited]`

Tint TObjectStream::theDataSize`[protected, inherited]`

Tint TObjectStream::theLastDataSize`[protected, inherited]`

TObjectFilter* TObjectStream::theObjectFilter`[protected, inherited]`

Tint TObjectSocket::thePortNumber`[protected, inherited]`

Tint TObjectSocket::theServerDescriptor`[protected, inherited]`

Tstream_t TObjectStream::theStreamType`[protected, inherited]`

Tint TObjectStream::theTotalDataSize`[protected, inherited]`

このクラスの解説は次のファイルから生成されました:

- TOutputObjectSocket.hh