惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

宝玉的分享
宝玉的分享
NISL@THU
NISL@THU
E
Exploit-DB.com RSS Feed
L
LINUX DO - 热门话题
L
Lohrmann on Cybersecurity
K
Kaspersky official blog
Project Zero
Project Zero
Cisco Talos Blog
Cisco Talos Blog
T
The Exploit Database - CXSecurity.com
P
Palo Alto Networks Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
S
Schneier on Security
G
GRAHAM CLULEY
The Hacker News
The Hacker News
T
Threat Research - Cisco Blogs
Scott Helme
Scott Helme
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy & Cybersecurity Law Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Cyberwarzone
Cyberwarzone
C
CERT Recently Published Vulnerability Notes
T
Tor Project blog
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
爱范儿
爱范儿
P
Privacy International News Feed
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
S
Securelist
G
Google Developers Blog
The Last Watchdog
The Last Watchdog
Google Online Security Blog
Google Online Security Blog
美团技术团队
F
Fortinet All Blogs
小众软件
小众软件
Recorded Future
Recorded Future
V
Visual Studio Blog
B
Blog RSS Feed
H
Help Net Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
Martin Fowler
Martin Fowler
Latest news
Latest news
Spread Privacy
Spread Privacy
H
Heimdal Security Blog

博客园 - 海天一鸥

Windows批处理中的等待技巧 The Ice::Current Object C# Tips 2则 Configuring log4net with VS2010 and .Net 4.0 IoC Container Benchmark - Unity, Windsor, StructureMap and Spring.NET Functional .NET 4.0 – Tuples and Zip binary search of an integer array JAVA 上加密算法的实现用例 Exploring The Major Interfaces in Rx 带状疱疹覆灭记 ADO vs ADO.NET vs OLE DB vs ODBC [数据提供程序之间的差别] 获取SYSTEM账户的环境变量 如何在 Windows 7 中使用多线程加快文件复制? 关于VC++ 字符集 C++ reserve 与 resize的区别 ICE bidirectional connections 关键点 你最后会划掉谁的名字…… Poco::DateTimeFormatter Tips POCO日志组件Tips
ICE代理的固有方法
海天一鸥 · 2011-08-09 · via 博客园 - 海天一鸥

Table 32.1. The semantics of core proxy methods.

Method

Description

Remote

ice_isA

Returns true if the remote object supports the type indicated by the id argument, otherwise false. This method can only be invoked on a twoway proxy.

Yes

ice_ping

Determines whether the remote object is reachable. Does not return a value.

Yes

ice_ids

Returns the type ids of the types supported by the remote object. The return value is an array of strings. This method can only be invoked on a twoway proxy.

Yes

ice_id

Returns the type id of the most-derived type supported by the remote object. This method can only be invoked on a twoway proxy.

Yes

ice_getHash

Returns a hash value for the proxy for C++. For other language mappings, use the built-in hash method.

No

ice_getCommunicator

Returns the communicator that was used to create this proxy.

No

ice_toString

Returns the string representation of the proxy.

No

ice_identity

Returns a new proxy having the given identity.

No

ice_getIdentity

Returns the identity of the Ice object represented by the proxy.

No

ice_adapterId

Returns a new proxy having the given adapter id.

No

ice_getAdapterId

Returns the proxy’s adapter id, or an empty string if no adapter id is configured.

No

ice_endpoints

Returns a new proxy having the given endpoints.

No

ice_getEndpoints

Returns a sequence of Endpoint objects representing the proxy’s endpoints. See Section 36.5.2 for more information.

No

ice_endpointSelection

Returns a new proxy having the given selection policy (random or ordered). See Section 36.3.1 for more information.

No

ice_getEndpointSelection

Returns the endpoint selection policy for the proxy.

No

ice_context

Returns a new proxy having the given request context. See Section 32.12 for more information on request contexts.

No

ice_getContext

Returns the request context associated with the proxy. See Section 32.12 for more information on request contexts.

No

ice_facet

Returns a new proxy having the given facet name. See Chapter 33 for more information on facets.

No

ice_getFacet

Returns the name of the facet associated with the proxy, or an empty string if no facet has been set. See Chapter 33 for more information on facets.

No

ice_twoway

Returns a new proxy for making twoway invocations.

No

ice_isTwoway

Returns true if the proxy uses twoway invocations, otherwise false.

No

ice_oneway

Returns a new proxy for making oneway invocations (see Section 32.14).

No

ice_isOneway

Returns true if the proxy uses oneway invocations, otherwise false.

No

ice_batchOneway

Returns a new proxy for making batch oneway invocations (see Section 32.16).

No

ice_isBatchOneway

Returns true if the proxy uses batch oneway invocations, otherwise false.

No

ice_datagram

Returns a new proxy for making datagram invocations (see Section 32.15).

No

ice_isDatagram

Returns true if the proxy uses datagram invocations, otherwise false.

No

ice_batchDatagram

Returns a new proxy for making batch datagram invocations (see Section 32.16).

No

ice_isBatchDatagram

Returns true if the proxy uses batch datagram invocations, otherwise false.

No

ice_secure

Returns a new proxy whose endpoints may be filtered depending on the boolean argument. If true, only endpoints using secure transports are allowed, otherwise all endpoints are allowed.

No

ice_isSecure

Returns true if the proxy uses only secure endpoints, otherwise false.

No

ice_preferSecure

Returns a new proxy whose endpoints are filtered depending on the boolean argument. If true, endpoints using secure transports are given precedence over endpoints using non-secure transports. If false, the default behavior gives precedence to endpoints using non-secure transports.

No

ice_isPreferSecure

Returns true if the proxy prefers secure endpoints, otherwise false.

No

ice_compress

Returns a new proxy whose protocol compression capability is determined by the boolean argument. If true, the proxy uses protocol compression if it is supported by the endpoint. If false, protocol compression is never used.

No

ice_timeout

Returns a new proxy with the given timeout value in milliseconds. A value of ‑1 disables timeouts. See Section 32.13 for more information on timeouts.

No

ice_router

Returns a new proxy configured with the given router proxy. See Chapter 42 for more information on routers.

No

ice_getRouter

Returns the router that is configured for the proxy (null if no router is configured).

No

ice_locator

Returns a new proxy with the specified locator. See Chapter 38 for more information on locators.

No

ice_getLocator

Returns the locator that is configured for the proxy (null if no locator is configured).

No

ice_locatorCacheTimeout

Returns a new proxy with the specified locator cache timeout. When binding a proxy to an endpoint, the run time caches the proxy returned by the locator and uses the cached proxy while the cached proxy has been in the cache for less than the timeout. Proxies older than the timeout cause the run time to rebind via the locator. A value of 0 disables caching entirely, and a value of ‑1 means that cached proxies never expire. The default value is ‑1.

No

ice_getLocatorCacheTimeout

Returns the locator cache timeout value in seconds.

No

ice_collocationOptimized

Returns a new proxy configured for collocation optimization. If true, collocated optimizations are enabled. The default value is true.

No

ice_isCollocationOptimized

Returns true if the proxy uses collocation optimization, otherwise false.

No

ice_connectionId

Returns a new proxy having the given connection identifier. See Section 36.3.3 for more information.

No

ice_getConnectionId

Returns the connection id, or an empty string if no connection id has been configured.

No

ice_getConnection

Returns an object representing the connection used by the proxy. If the proxy is not currently associated with a connection, the Ice run time attempts to establish a connection first. See Section 36.5 for more information.

No

ice_getCachedConnection

Returns an object representing the connection used by the proxy, or null if the proxy is not currently associated with a connection. See Section 36.5 for more information.

No

ice_connectionCached

Enables or disables connection caching for the proxy. See Section 36.3.4 for more information

No

ice_isConnectionCached

Returns true if the proxy uses connection caching, otherwise false.

No

ice_flushBatchRequests

Sends a batch of operation invocations synchronously or asynchronously (see Section 32.16).

Yes

begin_ice_flushBatchRequests

ice_invoke

Allows dynamic invocation of an operation without the need for compiled Slice definitions. Requests can be sent synchronously (see Section 35.3.1) or asynchronously (see Section 35.4).

Yes

begin_ice_invoke