org.objectweb.david.apis.binding.simpleoa
Interface SimpleAdapterOperations

All Superinterfaces:
org.omg.CORBA.portable.IDLEntity, java.io.Serializable
All Known Subinterfaces:
SimpleAdapter
All Known Implementing Classes:
_SimpleAdapterImplBase, _SimpleAdapterStub

public interface SimpleAdapterOperations
extends org.omg.CORBA.portable.IDLEntity

Operations provided by generic object adapters.


Method Summary
 void export(org.omg.CORBA.Object obj)
          Exports a CORBA object to the target adapter.
 void exportWithPort(org.omg.CORBA.Object obj, int port)
          Exports a CORBA object to the target adapter, using the specified TCP port.
 void unexport(org.omg.CORBA.Object obj)
          Unexports the provided CORBA object.
 

Method Detail

export

public void export(org.omg.CORBA.Object obj)
Exports a CORBA object to the target adapter.

Parameters:
obj - a CORBA object.

exportWithPort

public void exportWithPort(org.omg.CORBA.Object obj,
                           int port)
Exports a CORBA object to the target adapter, using the specified TCP port.

Parameters:
obj - a CORBA object;
port - a TCP port number.

unexport

public void unexport(org.omg.CORBA.Object obj)
Unexports the provided CORBA object.

Parameters:
obj - a CORBA object.