org.apache.yoko.orb.OCI
Interface AcceptorInfoOperations

All Known Subinterfaces:
AcceptorInfo, AcceptorInfo, AcceptorInfoOperations
All Known Implementing Classes:
AcceptorInfo_impl

public interface AcceptorInfoOperations

Information on an OCI Acceptor object. Objects of this type must be narrowed to an Acceptor information object for a concrete protocol implementation, for example to OCI::IIOP::AcceptorInfo in case the plug-in implements IIOP.

See Also:
Acceptor

Method Summary
 void add_accept_cb(AcceptCB cb)
          Add a callback that is called whenever a new connection is accepted.
 String describe()
          Returns a human readable description of the transport.
 String id()
          The plugin id.
 void remove_accept_cb(AcceptCB cb)
          Remove an accept callback.
 int tag()
          The profile id tag.
 

Method Detail

id

String id()
The plugin id.


tag

int tag()
The profile id tag.


describe

String describe()
Returns a human readable description of the transport.

Returns:
The description.

add_accept_cb

void add_accept_cb(AcceptCB cb)
Add a callback that is called whenever a new connection is accepted. If the callback has already been registered, this method has no effect.

Parameters:
cb - The callback to add.

remove_accept_cb

void remove_accept_cb(AcceptCB cb)
Remove an accept callback. If the callback was not registered, this method has no effect.

Parameters:
cb - The callback to remove.


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.