aeruder@ksu.edu
)Version: Revision 1
Date: November 8, 2003
Copyright: (C) Andrew Ruder
- Declared in:
- LineObject.h
- Conforms to:
- NetObject
LineObject is used for line-buffered connections (end in \r\n or just \n). To use, simply override lineReceived: in a subclass of LineObject. By default, LineObject does absolutely nothing with lineReceived except throw the line away. Use line object if you simply want line-buffered input. This can be used on IRC, telnet, etc.
Description forthcoming.
Description forthcoming.
Initializes data and retains aTransport aTransport should conform to the <NetTransport> protocol.
Cleans up the instance variables and closes/releases the transport.
Adds the data to a buffer. Then calls -lineReceived: for all full lines currently in the buffer. Don't override this, override -lineReceived: .
aLine contains a full line of text (without the ending newline)
Returns the transport