org.iids.aos.kernel
Class AOSapi.ConnectResult

java.lang.Object
  extended by org.iids.aos.kernel.AOSapi.ConnectResult
Enclosing interface:
AOSapi

public static class AOSapi.ConnectResult
extends java.lang.Object

Return value of connect().


Field Summary
 Endpoint commEndpoint
          The address of the remote communication endpoint of the connection.
 int connectionID
          The connection ID of the established connection.
 
Constructor Summary
AOSapi.ConnectResult(int connectionID, Endpoint commEndpoint)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connectionID

public final int connectionID
The connection ID of the established connection.


commEndpoint

public final Endpoint commEndpoint
The address of the remote communication endpoint of the connection. The scid field of commEndpoint is set if the listen endpoint address that was passed to connect() had a non-null scid field. (In this case the two scid fields are identical.) If the listen endpoint address had a null scid field, the scid field in commEndpoint may or may not be set. Either way, if the scid field is set, the remote AOS kernel has been auhenticated.

Constructor Detail

AOSapi.ConnectResult

public AOSapi.ConnectResult(int connectionID,
                            Endpoint commEndpoint)


Copyright © 2003, 2004 IIDS Group. All Rights Reserved.