home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.0
/
NeXTSTEP3.0.iso
/
NextDeveloper
/
Headers
/
phonekit
/
NXPhoneChannel.h
< prev
next >
Wrap
Text File
|
1992-07-08
|
1KB
|
53 lines
/*
* ISDN/POTS Project
* Copyright 1991, NeXT, Inc.
*
* NXPhoneChannel.h (Client side)
*
* Interface declaration for NXPhoneChannel object.
*
* NXPhoneChannel objects and their subclasses are used to facilitate
* communication between the POTS/ISDN server anF's clients.
*
* A NXPhoneChannel object is the bearer of one or more virtual calls.
* Each virtual call is represented by a NXPhoneCall object.
*/
#import <objc/Object.h>
#import "NXPhoneCall.h"
#import "phoneTypes.h"
@interface NXPhoneChannel : Object
{
void *_private;
}
- init;
- initType: (NXPhoneChannelType)chan;
@end
/*
* These methods are forwarded to the phone server.
*/
@interface NXPhoneChannel (RemoteMethods)
/*
* Call management
*/
- (void)setType: (NXPhoneChannelType)c;
- (NXPhoneChannelType)type;
- (void) addCall: call;
- (void) removeCall: call;
- activeCall;
@end
@interface NXPhoneChannel (RemoteCallBackMethods)
- allocateIncomingCallOfType:(NXPhoneCallType)t;
- (BOOL)acceptCall: newCall;
- (void)channelError: (NXPhoneError)reason;
@end