[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

IRIXTCPStream

inherits from AbstractTCPStream

Object <- AbstractTCPStream <- IRIXTCPStream



Operations

Get list of all operations

Connect
CountReadPending
Disconnect
Read
ResolveHostname
Write


Attributes

Get list of all attributes

Socket


Fields

Field Type
Stream: target: Object
AbstractTCPStream: connectState: Unsigned
localPort: Unsigned
remoteIPAddress: Unsigned
remotePort: Unsigned
IRIXTCPStream: socket: Signed


Instance template

instance IRIXTCPStream tag;
         target: nilObject;
   connectState: 0;
      localPort: 0;
remoteIPAddress: 0;
     remotePort: 0;
         socket: 0;
end instance;

Class definition

#endif

Define Class IRIXTCPStream;
    inherits from AbstractTCPStream;

    field socket: Signed, getter, setter;
        // private, socket identifier for this stream

    attribute Socket: Signed;

    overrides Connect;
        // attempt to connect and set up the stream
    overrides Disconnect;
        // terminates the stream and deallocates buffers

    overrides Write;
    overrides Read;
    overrides CountReadPending;

    overrides ResolveHostname;
        // uses gethostbyname
end class;