1 24 30 31 package org.datashare; 32 33 import java.util.Hashtable ; 34 import java.io.IOException ; 35 36 41 public interface TreeViewServerInterface 42 { 43 46 boolean 47 isClientAdmin(String clientKey); 48 49 52 boolean 53 isClientRegistered(String clientKey); 54 55 58 boolean 59 getPersistData(); 60 61 64 PersistenceInterface 65 getPersistenceInterface(); 66 67 75 void 76 saveDataToDatabase(String tableName, Hashtable props, PersistDataCallbackInterface callback); 77 78 void 79 removeConsumer(String clientKey, String sessionKey, String channelKey); 80 81 void 82 addConsumer(String clientKey, String sessionKey, String channelKey, boolean channelActive); 83 84 boolean 85 getShowArchivedSessionsToAdmin(); 86 87 Hashtable 88 getSessionTable(); 89 90 Hashtable 91 getSpecialClientTable(); 92 93 96 ClientInfo 97 getClientInfo(String clientKey); 98 99 int 100 getNextPort(); 101 102 String 103 getServerInfo(); 104 105 } 108 | Popular Tags |