2 * Copyright 2002, Marcus Overhagen. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
7 // This is deprecated API that is not even implemented - no need to export
8 // it on a GCC4 build (BeIDE needs it to run, though, so it's worthwhile for
13 #include "OldSubscriber.h"
18 /*************************************************************
20 *************************************************************/
22 BSubscriber::BSubscriber(const char *name
)
28 BSubscriber::~BSubscriber()
35 BSubscriber::Subscribe(BAbstractBufferStream
*stream
)
44 BSubscriber::Unsubscribe()
53 BSubscriber::ID() const
62 BSubscriber::Name() const
70 BSubscriber::SetTimeout(bigtime_t microseconds
)
77 BSubscriber::Timeout() const
86 BSubscriber::EnterStream(subscriber_id neighbor
,
89 enter_stream_hook entryFunction
,
90 exit_stream_hook exitFunction
,
100 BSubscriber::ExitStream(bool synch
)
109 BSubscriber::IsInStream() const
116 /*************************************************************
117 * protected BSubscriber
118 *************************************************************/
121 BSubscriber::_ProcessLoop(void *arg
)
130 BSubscriber::ProcessLoop()
138 BAbstractBufferStream
*
139 BSubscriber::Stream() const
145 /*************************************************************
146 * private BSubscriber
147 *************************************************************/
150 BSubscriber::_ReservedSubscriber1()
157 BSubscriber::_ReservedSubscriber2()
164 BSubscriber::_ReservedSubscriber3()
170 #endif // __GNUC__ < 3