Up

NSPort class reference

Authors

Richard Frith-Macdonald (richard@brainstorm.co.uk)
Andrew Kachites McCallum (mccallum@gnu.ai.mit.edu)

Version: 1.25

Date: 2003/07/15 05:21:34

Copyright: (C) 1997,2002 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the NSMessagePort class
  2. Software documentation for the NSPort class
  3. Software documentation for the NSSocketPort class
  4. Software documentation for the NSPort(GNUstep) category

Software documentation for the NSMessagePort class

NSMessagePort : NSPort

Declared in:
Foundation/NSPort.h
Conforms to:
GCFinalization
Standards:

Description forthcoming.

Method summary

_portWithName:listener:

+ (NSMessagePort*) _portWithName: (const unsigned char*)socketName listener: (BOOL)shouldListen;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_listener

- (int) _listener;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_name

- (const unsigned char*) _name;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


addHandle:forSend:

- (void) addHandle: (GSMessageHandle*)handle forSend: (BOOL)send;

Description forthcoming.


handlePortMessage:

- (void) handlePortMessage: (NSPortMessage*)m;

Description forthcoming.


removeHandle:

- (void) removeHandle: (GSMessageHandle*)handle;

Description forthcoming.


Software documentation for the NSPort class

NSPort : NSObject

Declared in:
Foundation/NSPort.h
Conforms to:
NSCoding
NSCopying
Standards:

Description forthcoming.

Method summary

port

+ (NSPort*) port;

Description forthcoming.


portWithMachPort:

+ (NSPort*) portWithMachPort: (int)machPort;

Description forthcoming.


addConnection:toRunLoop:forMode:

- (void) addConnection: (NSConnection*)aConnection toRunLoop: (NSRunLoop*)aLoop forMode: (NSString*)aMode;

Description forthcoming.


delegate

- (id) delegate;

Description forthcoming.


init

- (id) init;

Description forthcoming.


initWithMachPort:

- (id) initWithMachPort: (int)machPort;

Description forthcoming.


invalidate

- (void) invalidate;

Description forthcoming.


isValid

- (BOOL) isValid;

Description forthcoming.


machPort

- (int) machPort;

Description forthcoming.


removeConnection:fromRunLoop:forMode:

- (void) removeConnection: (NSConnection*)aConnection fromRunLoop: (NSRunLoop*)aLoop forMode: (NSString*)aMode;

Description forthcoming.


reservedSpaceLength

- (unsigned) reservedSpaceLength;

Description forthcoming.


sendBeforeDate:components:from:reserved:

- (BOOL) sendBeforeDate: (NSDate*)when components: (NSMutableArray*)components from: (NSPort*)receivingPort reserved: (unsigned)length;

Description forthcoming.


sendBeforeDate:msgid:components:from:reserved:

- (BOOL) sendBeforeDate: (NSDate*)when msgid: (int)msgid components: (NSMutableArray*)components from: (NSPort*)receivingPort reserved: (unsigned)length;

Description forthcoming.


setDelegate:

- (void) setDelegate: (id)anObject;

Description forthcoming.


Software documentation for the NSSocketPort class

NSSocketPort : NSPort

Declared in:
Foundation/NSPort.h
Conforms to:
GCFinalization
Standards:

Description forthcoming.

Method summary

existingPortWithNumber:onHost:

+ (NSSocketPort*) existingPortWithNumber: (gsu16)number onHost: (NSHost*)aHost;

Description forthcoming.


portWithNumber:onHost:forceAddress:listener:

+ (NSSocketPort*) portWithNumber: (gsu16)number onHost: (NSHost*)aHost forceAddress: (NSString*)addr listener: (BOOL)shouldListen;

Description forthcoming.


addHandle:forSend:

- (void) addHandle: (GSTcpHandle*)handle forSend: (BOOL)send;

Description forthcoming.


address

- (NSString*) address;

Description forthcoming.


getFds:count:

- (void) getFds: (SOCKET*)fds count: (int*)count;

Description forthcoming.


handleForPort:beforeDate:

- (GSTcpHandle*) handleForPort: (NSSocketPort*)recvPort beforeDate: (NSDate*)when;

Description forthcoming.


handlePortMessage:

- (void) handlePortMessage: (NSPortMessage*)m;

Description forthcoming.


host

- (NSHost*) host;

Description forthcoming.


portNumber

- (gsu16) portNumber;

Description forthcoming.


removeHandle:

- (void) removeHandle: (GSTcpHandle*)handle;

Description forthcoming.


Software documentation for the NSPort(GNUstep) category

NSPort(GNUstep)

Declared in:
Foundation/NSPort.h
Standards:

Description forthcoming.

Method summary

outPacketClass

+ (Class) outPacketClass;

Description forthcoming.


close

- (void) close;

Description forthcoming.


outPacketClass

- (Class) outPacketClass;

Description forthcoming.



Up