connection.sendRequest( lros,
receiver,
lros.getRequestId(),
true ); //response expected
LocateReplyInputStream lris = receiver.getReply();
switch ( lris.rep_hdr.locate_status.value() )
{
case LocateStatusType_1_2._UNKNOWN_OBJECT :
{
throw new org.omg.CORBA.UNKNOWN( "Could not bind to object, server does not know it!" );
}
case LocateStatusType_1_2._OBJECT_HERE :
{
break;
}
case LocateStatusType_1_2._OBJECT_FORWARD :
{
//fall through
}
case LocateStatusType_1_2._OBJECT_FORWARD_PERM :
{
//_OBJECT_FORWARD_PERM is actually more or
//less deprecated
rebind(lris.read_Object());
break;
}
case LocateStatusType_1_2._LOC_SYSTEM_EXCEPTION :
{