|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
public interface ServerRequestInfoOperations
¼¹öÃøÀÇ ¿ä±¸ ÀΟ¼¼ÇÁŸ¸¦ ¾×¼¼½º ÇÒ ¼ö ÀÖ´Â ¿ä±¸ Á¤º¸ÀÔ´Ï´Ù.
ServerRequestInfo
¿¡ ´ëÇÑ ÀϺÎÀÇ ¼Ó¼ºÀ̳ª Á¶ÀÛÀº ¸ðµç Â÷´ÜÁ¡À¸·Î½á À¯È¿ÇÏ´Ù¶ó°í´Â ÇÑÁ¤ÇÏÁö ¾Ê½À´Ï´Ù. ´ÙÀ½ÀÇ °Ñ(Ç¥)¿¡
°¢ ¼Ó¼º ¶Ç´Â Á¶ÀÛÀÇ À¯È¿¼ºÀ» ³ªÅ¸³À´Ï´Ù. À¯È¿ÇÏÁö ¾ÊÀº ¼Ó¼ºÀ̳ª Á¶ÀÛ¿¡ ¾×¼¼½º ÇÏ·Á°í Çϸé, Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 14°¡ ¼³Á¤µÈ BAD_INV_ORDER
°¡ ¹ß»ý µË´Ï´Ù.
receive_request_ service_contexts | receive_request | send_reply | send_exception | send_other | |
---|---|---|---|---|---|
RequestInfo ·ÎºÎÅÍ »ó¼ÓµÈ´Ù: | |||||
request_id | ³× | ³× | ³× | ³× | ³× |
operation | ³× | ³× | ³× | ³× | ³× |
arguments | ¾Æ´Ï¿À | ³×1 | ³× | ¾Æ´Ï¿À2 | ¾Æ´Ï¿À2 |
exceptions | ¾Æ´Ï¿À | ³× | ³× | ³× | ³× |
contexts | ¾Æ´Ï¿À | ³× | ³× | ³× | ³× |
operation_context | ¾Æ´Ï¿À | ³× | ³× | ¾Æ´Ï¿À | ¾Æ´Ï¿À |
result | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³× | ¾Æ´Ï¿À | ¾Æ´Ï¿À |
response_expected | ³× | ³× | ³× | ³× | ³× |
sync_scope | ³× | ³× | ³× | ³× | ³× |
request_id | ³× | ³× | ³× | ³× | ³× |
operation | ³× | ³× | ³× | ³× | ³× |
arguments | ¾Æ´Ï¿À | ³×1 | ³× | ¾Æ´Ï¿À2 | ¾Æ´Ï¿À2 |
exceptions | ¾Æ´Ï¿À | ³× | ³× | ³× | ³× |
contexts | ¾Æ´Ï¿À | ³× | ³× | ³× | ³× |
operation_context | ¾Æ´Ï¿À | ³× | ³× | ¾Æ´Ï¿À | ¾Æ´Ï¿À |
result | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³× | ¾Æ´Ï¿À | ¾Æ´Ï¿À |
response_expected | ³× | ³× | ³× | ³× | ³× |
sync_scope | ³× | ³× | ³× | ³× | ³× |
reply_status | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³× | ³× | ³× |
forward_reference | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³×2 |
get_slot | ³× | ³× | ³× | ³× | ³× |
get_request_service_context | ³× | ¾Æ´Ï¿À | ³× | ³× | ³× |
get_reply_service_context | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³× | ³× | ³× |
ServerRequestInfo °íÀ¯: | |||||
sending_exception | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³× | ¾Æ´Ï¿À |
object_id | ¾Æ´Ï¿À | ³× | ³× | ³×3 | ³×3 |
adapter_id | ¾Æ´Ï¿À | ³× | ³× | ³×3 | ³×3 |
server_id | ¾Æ´Ï¿À | ³× | ³× | ³× | ³× |
orb_id | ¾Æ´Ï¿À | ³× | ³× | ³× | ³× |
adapter_name | ¾Æ´Ï¿À | ³× | ³× | ³× | ³× |
target_most_derived_interface | ¾Æ´Ï¿À | ³× | ¾Æ´Ï¿À4 | ¾Æ´Ï¿À4 | ¾Æ´Ï¿À4 |
get_server_policy | ³× | ³× | ³× | ³× | ³× |
set_slot | ³× | ³× | ³× | ³× | ³× |
target_is_a | ¾Æ´Ï¿À | ³× | ¾Æ´Ï¿À4 | ¾Æ´Ï¿À4 | ¾Æ´Ï¿À4 |
add_reply_service_context | ³× | ³× | ³× | ³× | ³× |
ServerRequestInfo
°¡ receive_request
¿¡
°Ô °Ç³×Áú ¶§´Â °¢ ÀμöÀÇ ¸®½ºÆ®¿¡ in, inout, out
¾î¶² °ÍÀΰ¡ÀÇ ¿£Æ®¸®°¡ ÀÖ½À´Ï´Ù¸¸, »ç¿ëÇÒ ¼ö ÀÖ´Â °ÍÀº in¿Í
inout
Àμö »ÓÀÔ´Ï´Ù. reply_status
¼Ó¼ºÀÌ LOCATION_FORWARD
°¡ ¾Æ´Ñ °æ¿ì´Â ÀÌ ¼Ó¼º¿¡ ¾×¼¼½º Çϸé, Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 14°¡ ¼³Á¤µÈ BAD_INV_ORDER
°¡ ¹ß»ý µË´Ï´Ù. NO_RESOURCES
°¡ ¹ß»ý µË´Ï´Ù. ServantLocator
¸¦ »ç¿ëÇÏ´Â POA ÀÎ °æ¿ì, ORB´Â ServantLocator.postinvoke()
¸¦ È£ÃâÇÑ ÈÄ¿¡ ÀÌ Â÷´ÜÁ¡À» È£ÃâÇÕ´Ï´Ù.
ServerRequestInterceptor
¸Þ¼µå °³¿ä | |
---|---|
byte[] |
adapter_id ()
°´Ã¼ ¾î´ðÅÍÀÇ ºÒÅõ¸íÇÑ ½Äº°ÀÚ¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
String [] |
adapter_name ()
ÀÌ ¿ä±¸¸¦ ó¸®ÁßÀÇ °´Ã¼ ¾î´ðÅÍ ÀνºÅϽº¸¦ ½Äº°ÇÏ´Â ÀÏ·ÃÀÇ Ä³¸¯ÅÍ ¶óÀÎÀ» ¸®ÅÏÇÕ´Ï´Ù. |
void |
add_reply_service_context (ServiceContext service_context,
boolean replace)
ÀΟ¼¼ÇÁŸ°¡ ¼ºñ½º ÄÁÅØ½ºÆ®¸¦ ¿ä±¸¿¡ Ãß°¡ÇÒ ¼ö ÀÖµµ·Ï ÇÕ´Ï´Ù. |
Policy |
get_server_policy (int type)
ÀÌ Á¶ÀÛ¿¡ À¯È¿ÇÑ ÁöÁ¤µÈ Á¤Ã¥ ÇüÀÇ Á¤Ã¥¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
byte[] |
object_id ()
Á¶ÀÛ È£ÃâÀÇ Å¸°ÙÀ» ³ªÅ¸³»°í ÀÖ´Â ºÒÅõ¸íÇÑ object_id ¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
String |
orb_id ()
ORB¸¦ ÀÛ¼ºÇϴµ¥ »ç¿ëµÈ ID¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Any |
sending_exception ()
Ŭ¶óÀÌ¾ðÆ®¿¡ ¸®ÅÏµÈ ¿¹¿Ü¸¦ Æ÷ÇÔÇÏ´Â any¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
String |
server_id ()
-ORBServerId Àμö¸¦ »ç¿ëÇØ ORB::init ·Î ÁöÁ¤µÈ ¼¹ö ID¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
void |
set_slot (int id,
Any data)
ÀΟ¼¼ÇÁŸ°¡ ¿ä±¸ÀÇ ¹üÀ§³»¿¡ ÀÖ´Â PortableInterceptor.Current ¿¡ ½½·ÔÀ» ¼³Á¤ÇÒ ¼ö ÀÖµµ·Ï ÇÕ´Ï´Ù. |
boolean |
target_is_a (String id)
¼¹øÆ®°¡ ÁöÁ¤µÈ ¸®Æ÷ÁöÅ͸®(repository) ID ÀÎ °æ¿ì´Â true¸¦ µ¹·ÁÁÖ°í, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
String |
target_most_derived_interface ()
¼¹øÆ®ÀÇ ÃÖ»óÁ¤µµÀÇ ÆÄ»ý ÀÎÅÍÆäÀ̽ºÀÇ ¸®Æ÷ÁöÅ͸®(repository) ID¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
ÀÎÅÍÆäÀ̽º org.omg.PortableInterceptor. RequestInfoOperations ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
arguments,
contexts,
exceptions,
forward_reference,
get_reply_service_context,
get_request_service_context,
get_slot,
operation_context,
operation,
reply_status,
request_id,
response_expected,
result,
sync_scope |
¸Þ¼µåÀÇ »ó¼¼ |
---|
Any sending_exception()
¿¹¿Ü°¡ any¿¡ »ðÀÔÇÒ ¼ö ¾ø´Â »ç¿ëÀÚ
¿¹¿Ü (¿¹¿Ü°¡ ºÒ¸íÇϰųª ¹ÙÀεù¿¡ ÀÇÇØ TypeCode
°¡ Á¦°øµÇÁö ¾Ê´Â µî)ÀÎ °æ¿ì, ÀÌ ¼Ó¼ºÀº Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 1 ÀÌ ¼³Á¤µÈ ½Ã½ºÅÛ ¿¹¿Ü UNKNOWN
¸¦ Æ÷ÇÔÇÑ any°¡ µË´Ï´Ù.
PortableInterceptor
package comments for limitations / unimplemented features byte[] object_id()
object_id
¸¦ ¸®ÅÏÇÕ´Ï´Ù.
byte[] adapter_id()
String server_id()
String orb_id()
String [] adapter_name()
String target_most_derived_interface()
Policy get_server_policy(int type)
CORBA.Policy
°´Ã¼´Â
register_policy_factory
¸¦ °³ÀÔ½ÃÄÑ ÇüŰ¡ µî·ÏµÇ¾î ÀÖ´Â À¯ÀÏÇÑ Á¤Ã¥
ÀÔ´Ï´Ù.
type
- ¸®ÅϵÈ
Á¤Ã¥¸¦ ÁöÁ¤ÇÏ´Â CORBA.PolicyType
CORBA.Policy
INV_POLICY
- ÁöÁ¤µÈ ÇüÅÂÀÇ Á¤Ã¥°¡ register_policy_factory
¸¦ °³ÀÔ½ÃÄÑ µî·ÏµÇÁö ¾Ê¾Ò´ø °æ¿ì, Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 2 ·Î ¹ß»ýµÇ´Â ORBInitInfoOperations.register_policy_factory(int, org.omg.PortableInterceptor.PolicyFactory)
void set_slot(int id, Any data) throws InvalidSlot
PortableInterceptor.Current
¿¡ ½½·ÔÀ» ¼³Á¤ÇÒ ¼ö ÀÖµµ·Ï ÇÕ´Ï´Ù. ±× ½½·Ô¿¡ µ¥ÀÌÅͰ¡ À̹Ì
Á¸ÀçÇÏ´Â °æ¿ì, ±âÁ¸ÀÇ µ¥ÀÌÅÍ´Â µ¡¾²±âµË´Ï´Ù.
id
- ½½·ÔÀÇ IDdata
- ±× ½½·Ô¿¡ Æ÷ÇÔÇÏ´Â any Çü½ÄÀÇ µ¥ÀÌÅÍ
InvalidSlot
- ÀÌ ID¿¡ ÀÇÇØ ÇÒ´çÇÏ°í ³¡³ ½½·ÔÀÌ Á¤ÀǵǾî ÀÖÁö ¾ÊÀº °æ¿ì¿¡ ¹ß»ýµÇ´Â Current
boolean target_is_a(String id)
id
- È£ÃâÃø¿¡¼´Â ¼¹øÆ®°¡ ÀÌ ¸®Æ÷ÁöÅ͸®(repository) ID ÀÏÁö ¾î¶³Áö¸¦ È®ÀÎÇÒ Çʿ䰡 ÀÖ´Ù
void add_reply_service_context(ServiceContext service_context, boolean replace)
¼ºñ½º ÄÁÅØ½ºÆ® ÀÇ ¼ø¼ÀÇ ¼±¾ðÀº ¾ø½À´Ï´Ù. ÀÌ ¶§¹®¿¡ Ãß°¡µÈ ¼ø¼¿¡ Ç¥½ÃµÇ´Â °æ¿ìµµ Ç¥½ÃµÇÁö ¾Ê´Â °æ¿ìµµ ÀÖ½À´Ï´Ù.
service_context
- ÀÀ´ä¿¡ Ãß°¡ÇÏ´Â IOP.ServiceContext
replace
- ÁöÁ¤µÈ ID¸¦ °¡Áö´Â ¼ºñ½º ÄÁÅØ½ºÆ®ÀÌ À̹Ì
Á¸ÀçÇϰí ÀÖÀ» ¶§ÀÇ ÀÌ Á¶ÀÛÀÇ µ¿ÀÛÀ» ³ªÅ¸³½´Ù. falseÀÎ °æ¿ì´Â Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 15°¡ ¼³Á¤µÈ BAD_INV_ORDER
°¡ Throw µÈ´Ù. trueÀÎ °æ¿ì´Â ±âÁ¸ÀÇ ¼ºñ½º ÄÁÅØ½ºÆ®ÀÌ »õ·Î¿î °Í¿¡ ġȯµÈ´Ù
BAD_INV_ORDER
- replace°¡ false ÀÏ ¶§, ÁöÁ¤µÈ ID
¼ºñ½º ÄÁÅØ½ºÆ®ÀÌ À̹Ì
Á¸ÀçÇÏ´Â °æ¿ì, Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 15 ·Î Throw µÈ´Ù
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.