Table of Contents Previous Next
Logo
The Ice Run Time in Detail : 32.17 Testing Proxies for Dispatch Type
Copyright © 2003-2009 ZeroC, Inc.

32.17 Testing Proxies for Dispatch Type

The proxy interface offers a number of operations that allow you test the dispatch mode of a proxy. (The Java and C# versions of these methods are analogous, so we do not show them here.)
namespace IceProxy {
    namespace Ice {
        class Object : /* ... */ {
        public:
            bool ice_isTwoway() const;
            bool ice_isOneway() const;
            bool ice_isDatagram() const;
            bool ice_isBatchOneway() const;
            bool ice_isBatchDatagram() const;
            // ...
        };
    }
}
These operations allow you to test the dispatch mode of an individual proxy.
Table of Contents Previous Next
Logo