|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
public interface ClientRequestInfoOperations
Ŭ¶óÀ̾ðÆ®ÃøÀÇ ¿ä±¸ ÀΟ¼¼ÇÁŸ¸¦ ¾×¼¼½º ÇÒ ¼ö ÀÖ´Â ¿ä±¸ Á¤º¸ÀÔ´Ï´Ù.
ClientRequestInfo
¿¡ ´ëÇÑ ÀϺÎÀÇ ¼Ó¼ºÀ̳ª ¿ÀÆÛ·¹À̼ÇÀº ¸ðµç Â÷´ÜÁ¡À¸·Î½á À¯È¿ÇÏ´Ù¶ó°í´Â ÇÑÁ¤ÇÏÁö ¾Ê½À´Ï´Ù. ´ÙÀ½ÀÇ °Ñ(Ç¥)¿¡
°¢ ¼Ó¼º ¶Ç´Â ¿ÀÆÛ·¹À̼ÇÀÇ À¯È¿¼ºÀ» ³ªÅ¸³À´Ï´Ù. À¯È¿ÇÏÁö ¾ÊÀº ¼Ó¼ºÀ̳ª ¿ÀÆÛ·¹À̼ǿ¡ ¾×¼¼½º ÇÏ·Á°í Çϸé, Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 14°¡ ¼³Á¤µÈ BAD_INV_ORDER
°¡ ¹ß»ý µË´Ï´Ù.
send_request | send_poll | receive_reply | receive_exception | receive_other | |
RequestInfo ·ÎºÎÅÍ »ó¼ÓµÈ´Ù: | |||||
request_id | ³× | ³× | ³× | ³× | ³× |
operation | ³× | ³× | ³× | ³× | ³× |
arguments | ³×1 | ¾Æ´Ï¿À | ³× | ¾Æ´Ï¿À | ¾Æ´Ï¿À |
exceptions | ³× | ¾Æ´Ï¿À | ³× | ³× | ³× |
contexts | ³× | ¾Æ´Ï¿À | ³× | ³× | ³× |
operation_context | ³× | ¾Æ´Ï¿À | ³× | ³× | ³× |
result | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³× | ¾Æ´Ï¿À | ¾Æ´Ï¿À |
response_expected | ³× | ³× | ³× | ³× | ³× |
sync_scope | ³× | ¾Æ´Ï¿À | ³× | ³× | ³× |
reply_status | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³× | ³× | ³× |
forward_reference | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³×2 |
get_slot | ³× | ³× | ³× | ³× | ³× |
get_request_service_context | ³× | ¾Æ´Ï¿À | ³× | ³× | ³× |
get_reply_service_context | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³× | ³× | ³× |
ClientRequestInfo °íÀ¯: | |||||
target | ³× | ³× | ³× | ³× | ³× |
effective_target | ³× | ³× | ³× | ³× | ³× |
effective_profile | ³× | ³× | ³× | ³× | ³× |
received_exception | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³× | ¾Æ´Ï¿À |
received_exception_id | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ³× | ¾Æ´Ï¿À |
get_effective_component | ³× | ¾Æ´Ï¿À | ³× | ³× | ³× |
get_effective_components | ³× | ¾Æ´Ï¿À | ³× | ³× | ³× |
get_request_policy | ³× | ¾Æ´Ï¿À | ³× | ³× | ³× |
add_request_service_context | ³× | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ¾Æ´Ï¿À | ¾Æ´Ï¿À |
ClientRequestInfo
°¡ send_request
¿¡
°Ô °Ç³×Áú ¶§´Â °¢ ÀμöÀÇ ¸®½ºÆ®¿¡ in, inout, out
¾î¶² °ÍÀΰ¡ÀÇ ¿£Æ®¸®°¡ ÀÖ½À´Ï´Ù¸¸, »ç¿ëÇÒ ¼ö ÀÖ´Â °ÍÀº in¿Í
inout
Àμö¸¸reply_status
¼Ó¼ºÀÌ LOCATION_FORWARD
°¡ ¾Æ´Ñ °æ¿ì´Â ÀÌ ¼Ó¼º¿¡ ¾×¼¼½º Çϸé, Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 14°¡ ¼³Á¤µÈ BAD_INV_ORDER
°¡ Throw µÈ´Ù
ClientRequestInterceptor
¸Þ¼µå °³¿ä | |
---|---|
void |
add_request_service_context (ServiceContext service_context,
boolean replace)
ÀΟ¼¼ÇÁŸ°¡ ¼ºñ½º ÄÁÅØ½ºÆ®¸¦ ¿ä±¸¿¡ Ãß°¡ÇÒ ¼ö ÀÖµµ·Ï ÇÕ´Ï´Ù. |
TaggedProfile |
effective_profile ()
¿ä±¸ÀÇ ¼Û½Å¿¡ »ç¿ëµÇ´Â ÇÁ·ÎÆÄÀÏÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Object |
effective_target ()
¿ÀÆÛ·¹À̼ÇÀÇ È£ÃâÀÇ ´ë»óÀÌ µÇ´Â ½ÇÁ¦ °´Ã¼¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
TaggedComponent |
get_effective_component (int id)
ÀÌ ¿ä±¸¿¡ ´ëÇØ¼ ¼±ÅÃµÈ ÇÁ·ÎÆÄÀϷκÎÅÍ, ÁöÁ¤ÀÇ ID¸¦ °¡Áö´Â IOP.TaggedComponent ¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
TaggedComponent [] |
get_effective_components (int id)
ÀÌ ¿ä±¸¿¡ ´ëÇØ¼ ¼±ÅÃµÈ ÇÁ·ÎÆÄÀϷκÎÅÍ, ÁöÁ¤ÀÇ ID¸¦ °¡Áö´Â ¸ðµç ÅÂ±× Ã·ºÎ ÄÄÆÛ³ÍÆ®ÀÇ ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù. |
Policy |
get_request_policy (int type)
ÀÌ ¿ÀÆÛ·¹À̼ǿ¡ ´ëÇØ¼ À¯È¿ÇÏ°Ô µÇ¾î ÀÖ´Â ÁöÁ¤ÀÇ Á¤Ã¥¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
String |
received_exception_id ()
Ŭ¶óÀÌ¾ðÆ®¿¡ ¸®ÅÏµÈ ¿¹¿ÜÀÇ ¸®Æ÷ÁöÅ͸®(repository) ID¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Any |
received_exception ()
Ŭ¶óÀÌ¾ðÆ®¿¡ ¸®ÅÏµÈ ¿¹¿Ü¸¦ Æ÷ÇÔÇÏ´Â any¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Object |
target ()
¿ÀÆÛ·¹À̼ÇÀ» ½ÇÇàÇϱâ À§Çؼ Ŭ¶óÀÌ¾ðÆ®°¡ È£ÃâÇÑ °´Ã¼¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
ÀÎÅÍÆäÀ̽º 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 |
¸Þ¼µåÀÇ »ó¼¼ |
---|
Object target()
effective_target()
Object effective_target()
reply_status
°¡ LOCATION_FORWARD
ÀÎ °æ¿ì´Â ÈļÓÀÇ ¿ä±¸·Îeffective_target
¿¡´Â Àü¼Û µÈ IOR°¡ Æ÷ÇԵ˴ϴٸ¸, Ÿ°ÙÀº ¹Ù²îÁö ¾Ê½À´Ï´Ù.
target()
TaggedProfile effective_profile()
Any received_exception()
¿¹¿Ü°¡ any¿¡ »ðÀÔÇÒ ¼ö ¾ø´Â »ç¿ëÀÚ
¿¹¿Ü (¿¹¿Ü°¡ ºÒ¸íÇϰųª ¹ÙÀεù¿¡ ÀÇÇØ TypeCode
°¡ Á¦°øµÇÁö ¾Ê´Â µî)ÀÎ °æ¿ì, ÀÌ ¼Ó¼ºÀº Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 1 ÀÌ ¼³Á¤µÈ ½Ã½ºÅÛ ¿¹¿Ü UNKNOWN
¸¦ Æ÷ÇÔÇÑ any°¡ µË´Ï´Ù. ´Ù¸¸, received_exception_id
¼Ó¼º¿¡¼´Â ¿¹¿ÜÀÇ ¸®Æ÷ÁöÅ͸®(repository) ID¸¦ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.
received_exception_id()
String received_exception_id()
received_exception()
,
PortableInterceptor
ÆÐŰÁöÀÇ ±âÁ¸ÀÇ Á¦ÇÑ/±¸ÇöµÇ¾î ÀÖÁö ¾ÊÀº ¸Þ¼µå¿¡ ´ëÇÑ ÄÚ¸àÆ® TaggedComponent get_effective_component(int id)
IOP.TaggedComponent
¸¦ ¸®ÅÏÇÕ´Ï´Ù.
ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ® ID¸¦ °¡Áö´Â ÄÄÆÛ³ÍÆ®°¡ ´Ù¼ö ÀÖ´Â °æ¿ì, ÀÌ ¿ÀÆÛ·¹À̼ǿ¡ ÀÇÇØ ¾î´À ÄÄÆÛ³ÍÆ®°¡ µ¹·ÁÁÖ°íÁú±î´Â ºÎÁ¤ÀÔ´Ï´Ù. ±× °æ¿ì´Â ´ë½Å¿¡ get_effective_components
¸¦ È£ÃâÇØ ÁÖ¼¼¿ä.
id
- ¸®ÅϵÈ
ÄÄÆÛ³ÍÆ®ÀÇ ÄÄÆÛ³ÍÆ® ID
IOP.TaggedComponent
BAD_PARAM
- ÁöÁ¤ÀÇ ÄÄÆÛ³ÍÆ® ID¸¦ °¡Áö´Â ÄÄÆÛ³ÍÆ®°¡ ¾ø´Â °æ¿ì, Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 28 À¸·Î ¹ß»ýµÇ´Â get_effective_components(int)
TaggedComponent [] get_effective_components(int id)
id
- ¸®ÅϵÈ
ÄÄÆÛ³ÍÆ®ÀÇ ÄÄÆÛ³ÍÆ® ID
TaggedComponent
°´Ã¼ÀÇ ¹è¿
BAD_PARAM
- ÁöÁ¤ÀÇ ÄÄÆÛ³ÍÆ® ID¸¦ °¡Áö´Â ÄÄÆÛ³ÍÆ®°¡ ¾ø´Â °æ¿ì, Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 28 À¸·Î ¹ß»ýµÇ´Â get_effective_component(int)
Policy get_request_policy(int type)
type
- ¸®ÅϵÈ
Á¤Ã¥¸¦ ³ªÅ¸³»´Â Á¤Ã¥
Çü
CORBA.Policy
INV_POLICY
- ÀÌ ORB°¡ ÁöÁ¤µÈ ÇüŸ¦ Áö¿ø
Çϰí ÀÖÁö ¾Ê´ÂÁö, ±× ÇüÅÂÀÇ Á¤Ã¥
°´Ã¼°¡ ÀÌ Object¿¡ °ü·ÃÁöÀ» ¼ö ÀÖÁö ¾Ê±â À§ÇØ, Á¤Ã¥
ÇüÀÇ °ªÀÌ À¯È¿ÇÏÁö ¾ÊÀº °æ¿ì, Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 1 À¸·Î ¹ß»ýµÇ´Â PortableInterceptor
ÆÐŰÁöÀÇ ±âÁ¸ÀÇ Á¦ÇÑ/±¸ÇöµÇ¾î ÀÖÁö ¾ÊÀº ¸Þ¼µå¿¡ ´ëÇÑ ÄÚ¸àÆ® void add_request_service_context(ServiceContext service_context, boolean replace)
¼ºñ½º ÄÁÅØ½ºÆ® ÀÇ ¼ø¼ÀÇ ¼±¾ðÀº ¾ø½À´Ï´Ù. ÀÌ ¶§¹®¿¡ Ãß°¡µÈ ¼ø¼¿¡ Ç¥½ÃµÇ´Â °æ¿ìµµ Ç¥½ÃµÇÁö ¾Ê´Â °æ¿ìµµ ÀÖ½À´Ï´Ù.
service_context
- ¿ä±¸¿¡ Ãß°¡µÇ´Â IOP.ServiceContext
replace
- ÁöÁ¤µÈ ID¸¦ °¡Áö´Â ¼ºñ½º ÄÁÅØ½ºÆ®ÀÌ À̹Ì
Á¸ÀçÇϰí ÀÖÀ» ¶§ÀÇ ÀÌ ¿ÀÆÛ·¹À̼ÇÀÇ µ¿ÀÛÀ» ³ªÅ¸³½´Ù. falseÀÎ °æ¿ì´Â Ç¥ÁØ ¸¶ÀÌ³Ê ÄÚµå 15°¡ ¼³Á¤µÈ BAD_INV_ORDER
°¡ Throw µÈ´Ù. trueÀÎ °æ¿ì´Â ±âÁ¸ÀÇ ¼ºñ½º ÄÁÅØ½ºÆ®ÀÌ »õ·Î¿î °Í¿¡ ġȯµÈ´Ù
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.