| 34 | #include <ChannelStream.h> |
| 35 | |
| 36 | ChannelStream::ChannelStream(Channel *theC) |
| 37 | :OPS_Stream(OPS_STREAM_TAGS_ChannelStream), sendSize(0), data(1), theChannel(theC) |
| 38 | { |
| 39 | if (theChannel->setUpConnection() < 0) { |
| 40 | opserr << "ChannelStream - Failed to set up connection\n"; |
| 41 | delete theChannel; |
| 42 | theChannel = 0; |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | ChannelStream::~ChannelStream() |
| 47 | { |
nothing calls this directly
no test coverage detected