001/** 002 * 003 * Copyright (c) 2014, the Railo Company Ltd. All rights reserved. 004 * 005 * This library is free software; you can redistribute it and/or 006 * modify it under the terms of the GNU Lesser General Public 007 * License as published by the Free Software Foundation; either 008 * version 2.1 of the License, or (at your option) any later version. 009 * 010 * This library is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 013 * Lesser General Public License for more details. 014 * 015 * You should have received a copy of the GNU Lesser General Public 016 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 017 * 018 **/ 019package coldfusion.server; 020 021import java.util.Map; 022import java.util.Vector; 023 024public interface EventGatewayService extends Service { 025 026 //public abstract EventRequestDispatcher getEventRequestDispatcher(); 027 028 //public abstract EventRequestHandler getEventRequestHandler(); 029 030 //public abstract Logger getLogger(); 031 032 //public abstract Logger getLogger(String arg0); 033 034 public abstract void startEventGateway(String arg0); 035 036 public abstract void stopEventGateway(String arg0); 037 038 public abstract void restartEventGateway(String arg0); 039 040 public abstract int getEventGatewayStatus(String arg0); 041 042 public abstract void removeGateway(String arg0); 043 044 public abstract void registerGateway(String arg0, String arg1, String arg2, 045 String[] arg3, String arg4); 046 047 public abstract Vector getGateways(); 048 049 public abstract Map getGatewayInfo(String arg0); 050 051 public abstract void removeGatewayType(String arg0); 052 053 public abstract void registerGatewayType(String arg0, String arg1, 054 String arg2, int arg3, boolean arg4); 055 056 public abstract Vector getGatewayTypes(); 057 058 public abstract Map getGatewayTypeInfo(String arg0); 059 060 public abstract void setCFCListeners(String arg0, String[] arg1); 061 062 public abstract String[] getGatewayCFCListeners(String arg0); 063 064 //public abstract Gateway getGateway(String arg0); 065 066 public abstract void incrementEventsIn(String arg0); 067 068 public abstract long getEventsIn(String arg0); 069 070 public abstract void resetEventsIn(String arg0); 071 072 public abstract void incrementEventsOut(String arg0); 073 074 public abstract long getEventsOut(String arg0); 075 076 public abstract void resetEventsOut(String arg0); 077 078 //public abstract GatewayInfo getGatewayStats(String arg0); 079 080}