Class MTStream

Inherits from:
NSObject
Declared in:
../libmoltalk/MTStream.oh

Class Hierarchy

    NSObject
      |
      +---MTStream

Class Description

Class MTStream is an abstract class which defines the interface subclasses should implement.

Last modified:
16-May-2006 (../libmoltalk/MTStream.oh)

Method Index

Methods

-(void)close

close the stream and release any low level resources

-(BOOL)ok

is this stream still valid?

-(NSData*)readLength:(unsigned int)len

read data from the stream (max length)

-(NSData*)readLineLength:(unsigned int)len

read a line from the stream (max length)

-(NSString*)readStringLineLength:(unsigned int)len

read a line from the stream (max length)

-(void)writeCString:(const char*)string

writes C string to the stream

-(void)writeData:(NSData*)data

writes data to the stream

-(void)writeString:(NSString*)string

writes string to the stream


generated 07-Jun-2006 by ObjcDoc 3.0.0