42 |
import gnu.CORBA.IOR_Delegate; |
import gnu.CORBA.IOR_Delegate; |
43 |
import gnu.CORBA.IOR_contructed_object; |
import gnu.CORBA.IOR_contructed_object; |
44 |
import gnu.CORBA.Interceptor.gnuServerRequestInfo; |
import gnu.CORBA.Interceptor.gnuServerRequestInfo; |
45 |
|
import gnu.CORBA.IOR; |
46 |
|
import gnu.CORBA.IorProvider; |
47 |
import gnu.CORBA.ObjectCreator; |
import gnu.CORBA.ObjectCreator; |
48 |
import gnu.CORBA.Unexpected; |
import gnu.CORBA.Unexpected; |
49 |
import gnu.CORBA.bufferedResponseHandler; |
import gnu.CORBA.bufferedResponseHandler; |
92 |
public class gnuServantObject extends ObjectImpl |
public class gnuServantObject extends ObjectImpl |
93 |
implements org.omg.CORBA.Object, |
implements org.omg.CORBA.Object, |
94 |
InvokeHandler, |
InvokeHandler, |
95 |
CurrentOperations |
CurrentOperations, |
96 |
|
IorProvider |
97 |
{ |
{ |
98 |
/** |
/** |
99 |
* The associated servant that must also implement the {@link InvokeHandler} |
* The associated servant that must also implement the {@link InvokeHandler} |
147 |
poa = a_poa; |
poa = a_poa; |
148 |
orb = an_orb; |
orb = an_orb; |
149 |
} |
} |
150 |
|
|
151 |
|
/** |
152 |
|
* Get the IOR as it would be for this object. |
153 |
|
*/ |
154 |
|
public IOR getIor() |
155 |
|
{ |
156 |
|
return orb.getLocalIor(this); |
157 |
|
} |
158 |
|
|
159 |
/** |
/** |
160 |
* Create a servant object, associated with the passed servant. |
* Create a servant object, associated with the passed servant. |