本文整理汇总了Java中com.sun.corba.se.impl.presentation.rmi.StubConnectImpl类的典型用法代码示例。如果您正苦于以下问题:Java StubConnectImpl类的具体用法?Java StubConnectImpl怎么用?Java StubConnectImpl使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
StubConnectImpl类属于com.sun.corba.se.impl.presentation.rmi包,在下文中一共展示了StubConnectImpl类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: connect
import com.sun.corba.se.impl.presentation.rmi.StubConnectImpl; //导入依赖的package包/类
public void connect( ORB orb ) throws RemoteException
{
ior = StubConnectImpl.connect( ior, self, this, orb ) ;
}
示例2: connect
import com.sun.corba.se.impl.presentation.rmi.StubConnectImpl; //导入依赖的package包/类
/**
* Connects this stub to an ORB. Required after the stub is deserialized
* but not after it is demarshalled by an ORB stream. If an unconnected
* stub is passed to an ORB stream for marshalling, it is implicitly
* connected to that ORB. Application code should not call this method
* directly, but should call the portable wrapper method
* {@link javax.rmi.PortableRemoteObject#connect}.
* @param orb the ORB to connect to.
* @exception RemoteException if the stub is already connected to a different
* ORB, or if the stub does not represent an exported remote or local object.
*/
public void connect(javax.rmi.CORBA.Stub self, ORB orb)
throws RemoteException
{
ior = StubConnectImpl.connect( ior, self, self, orb ) ;
}