Copyright ©1995 by NeXT Computer, Inc. All Rights Reserved.
Protocols
NXDecoding |
Adopted By: | A private class that decodes data sent across a connection |
Methods |
decodeBytes:(void *)bytes | Decodes untyped data | |
count:(int)count | ||
decodeData:(void *)d | Decodes typed data | |
ofType:(const char *)t | ||
decodeMachPort:(port_t *)pp | Decodes a Mach port | |
decodeObject | Decodes an object | |
decodeVM:(void **)bytes | Decodes virtual memory pages | |
count:(int *)count |
NXEncoding |
Adopted By: | A private class that encodes data across a connection |
Methods |
encodeBytes:(const void *)bytes | Encodes untyped data | |
count:(int)count | ||
encodeData:(void *)data | Encodes typed data | |
ofType:(const char *)type | ||
encodeMachPort:(port_t)port | Encodes a Mach port | |
encodeObject:anObject | Encodes an object as a proxy | |
encodeObjectBycopy:anObject | Encodes a copy of an object | |
encodeVM:(const void *)bytes | Encodes virtual memory pages | |
count:(int)count |
NXTransport |
Adopted By: | List (common classes) NXData (Mach Kit) NXPort (Mach Kit) NXProxy |
Methods |
encodeRemotelyFor: | Determines what to encode across a connection | |
(NXConnection *)connection | ||
freeAfterEncoding:(BOOL *)flagp | ||
isBycopy:(BOOL)isBycopy | ||
encodeUsing:(id <NXEncoding>)portal | Encodes an object across a connection | |
decodeUsing:(id <NXDecoding>)portal | Decodes an object over a connection |