372 |
public abstract NamedValue create_named_value(String s, Any any, int flags); |
public abstract NamedValue create_named_value(String s, Any any, int flags); |
373 |
|
|
374 |
/** |
/** |
375 |
|
* Send multiple prepared requests one way, do not caring about the answer. |
376 |
|
* The messages, containing requests, will be marked, indicating that |
377 |
|
* the sender is not expecting to get a reply. |
378 |
|
* |
379 |
|
* @param requests the prepared array of requests. |
380 |
|
* |
381 |
|
* @see Request#send_oneway() |
382 |
|
*/ |
383 |
|
public abstract void send_multiple_requests_oneway(Request[] requests); |
384 |
|
|
385 |
|
/** |
386 |
|
* Send multiple prepared requests expecting to get a reply. All requests |
387 |
|
* are send in parallel, each in its own separate thread. When the |
388 |
|
* reply arrives, it is stored in the agreed fields of the corresponing |
389 |
|
* request data structure. If this method is called repeatedly, |
390 |
|
* the new requests are added to the set of the currently sent requests, |
391 |
|
* but the old set is not discarded. |
392 |
|
* |
393 |
|
* @param requests the prepared array of requests. |
394 |
|
* |
395 |
|
* @see #poll_next_response() |
396 |
|
* @see #get_next_response() |
397 |
|
* @see Request#send_deferred() |
398 |
|
*/ |
399 |
|
public abstract void send_multiple_requests_deferred(Request[] requests); |
400 |
|
|
401 |
|
/** |
402 |
|
* Find if any of the requests that have been previously sent with |
403 |
|
* {@link #send_multiple_requests_deferred}, have a response yet. |
404 |
|
* |
405 |
|
* @return true if there is at least one response to the previously |
406 |
|
* sent request, false otherwise. |
407 |
|
*/ |
408 |
|
public abstract boolean poll_next_response(); |
409 |
|
|
410 |
|
/** |
411 |
|
* Get the next instance with a response being received. If all currently |
412 |
|
* sent responses not yet processed, this method pauses till at least one of |
413 |
|
* them is complete. If there are no requests currently sent, the method |
414 |
|
* pauses till some request is submitted and the response is received. |
415 |
|
* This strategy is identical to the one accepted by Suns 1.4 ORB |
416 |
|
* implementation. |
417 |
|
* |
418 |
|
* @return the previously sent request that now contains the received |
419 |
|
* response. |
420 |
|
* |
421 |
|
* @throws WrongTransaction If the method was called from the transaction |
422 |
|
* scope different than the one, used to send the request. The exception |
423 |
|
* can be raised only if the request is implicitly associated with some |
424 |
|
* particular transaction. |
425 |
|
*/ |
426 |
|
public abstract Request get_next_response() |
427 |
|
throws WrongTransaction; |
428 |
|
|
429 |
|
|
430 |
|
/** |
431 |
* Create a new CDR output stream, where the parameter values can be written |
* Create a new CDR output stream, where the parameter values can be written |
432 |
* during the method invocation. |
* during the method invocation. |
433 |
* |
* |
736 |
public abstract String object_to_string(Object forObject); |
public abstract String object_to_string(Object forObject); |
737 |
|
|
738 |
/** |
/** |
739 |
|
* This should perform the implementation dependent unit of work in the |
740 |
|
* main thread. |
741 |
|
* |
742 |
|
* This method is part of the support for the distribute use of the |
743 |
|
* single execution thread. |
744 |
|
* |
745 |
|
* Same as in Suns releases at least till 1.4 inclusive, |
746 |
|
* the distribute use of the single thread is not implemented. |
747 |
|
* Use multiple threads, provided by jre. |
748 |
|
* |
749 |
|
* The method returns without action. |
750 |
|
*/ |
751 |
|
public void perform_work() |
752 |
|
{ |
753 |
|
} |
754 |
|
|
755 |
|
/** |
756 |
|
* Checks if the ORB needs the main thread to perform some work. |
757 |
|
* The method should return true if the ORB needs the main thread, |
758 |
|
* and false if it does not. |
759 |
|
* |
760 |
|
* This method is part of the support for the distribute use of the |
761 |
|
* single execution thread. |
762 |
|
* |
763 |
|
* Same as in Suns releases at least till 1.4 inclusive, |
764 |
|
* the distributed use of the single thread is not implemented. |
765 |
|
* Use multiple threads, provided by jre. |
766 |
|
* |
767 |
|
* @return false, always. |
768 |
|
*/ |
769 |
|
public boolean work_pending() |
770 |
|
{ |
771 |
|
return false; |
772 |
|
} |
773 |
|
|
774 |
|
/** |
775 |
* Find and return the CORBA object, addressed by the given |
* Find and return the CORBA object, addressed by the given |
776 |
* IOR string representation. The object can (an usually is) |
* IOR string representation. The object can (an usually is) |
777 |
* located on a remote computer, possibly running a different |
* located on a remote computer, possibly running a different |