org.iids.aos.kernel
Class AOSapi.AcceptResult

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

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

Return value of accept().


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.AcceptResult(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 the endpoint is set if the listen endpoint at which the connection was accepted was created with requireAuth true. If requireAuth was false the scid field may or may not be set. Either way, if the scid field is set, the remote AOS kernel has been auhenticated.

Constructor Detail

AOSapi.AcceptResult

public AOSapi.AcceptResult(int connectionID,
                           Endpoint commEndpoint)


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