00001 /* 00002 * SynchronousListener.hpp 00003 * 00004 * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved. 00005 * 00006 * Oracle is a registered trademarks of Oracle Corporation and/or its 00007 * affiliates. 00008 * 00009 * This software is the confidential and proprietary information of Oracle 00010 * Corporation. You shall not disclose such confidential and proprietary 00011 * information and shall use it only in accordance with the terms of the 00012 * license agreement you entered into with Oracle. 00013 * 00014 * This notice may not be removed or altered. 00015 */ 00016 #ifndef COH_SYNCHRONOUS_LISTENER_HPP 00017 #define COH_SYNCHRONOUS_LISTENER_HPP 00018 00019 #include "coherence/lang.ns" 00020 00021 COH_OPEN_NAMESPACE2(coherence,util) 00022 00023 /** 00024 * A tag interface indicating that a listener implementation has to receive 00025 * the event notifications synchronously on the corresponding service's thread. 00026 * 00027 * This interface should be considered as a very advanced feature, as 00028 * a listener implementation that is marked as a SynchronousListener 00029 * must exercise extreme caution during event processing since any delay 00030 * with return or unhandled exception will cause a delay or complete 00031 * shutdown of the corresponding service. 00032 */ 00033 class COH_EXPORT SynchronousListener 00034 : public interface_spec<SynchronousListener> 00035 { 00036 }; 00037 00038 COH_CLOSE_NAMESPACE2 00039 00040 #endif // COH_SYNCHRONOUS_LISTENER_HPP