001: // @@
002: // @@
003: /*
004: * Wi.Ser Framework
005: *
006: * Version: 1.8.1, 20-September-2007
007: * Copyright (C) 2005 Dirk von der Weiden <dvdw@imail.de>
008: *
009: * This library is free software; you can redistribute it and/or
010: * modify it under the terms of the GNU Lesser General Public
011: * License as published by the Free Software Foundation; either
012: * version 2 of the License, or (at your option) any later version.
013: *
014: * This library is distributed in the hope that it will be useful,
015: * but WITHOUT ANY WARRANTY; without even the implied warranty of
016: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
017: * Lesser General Public License for more details.
018: *
019: * You should have received a copy of the GNU Lesser General Public
020: * License along with this library located in LGPL.txt in the
021: * license directory; if not, write to the
022: * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
023: * Boston, MA 02111-1307, USA.
024: *
025: * If this agreement does not cover your requirements, please contact us
026: * via email to get detailed information about the commercial license
027: * or our service offerings!
028: *
029: */
030: // @@
031: package de.ug2t.channel.ho.session;
032:
033: import java.net.*;
034:
035: import de.ug2t.kernel.*;
036: import de.ug2t.unifiedGui.interfaces.*;
037:
038: public interface IHoSession {
039: public static final String SESSION_NAME = "MY_HO_SESSION";
040: public static final String MY_HO_SESSIONID = "MY_HO_SESSION_ID";
041:
042: public boolean pcmf_beginLazy();
043:
044: public boolean pcmf_endLazy();
045:
046: public boolean pcmf_beginTr();
047:
048: public boolean pcmf_isInTransaction();
049:
050: public boolean pcmf_rollbackTr();
051:
052: public boolean pcmf_rollbackAllTr();
053:
054: public boolean pcmf_commitAllTr();
055:
056: public boolean pcmf_commitTr();
057:
058: public void pcmf_setClientSide(boolean xSwing,
059: IHoClientCommandDispatcher xCmd);
060:
061: public Object pcmf_call(String xCall, IUnLazyComponent xObj);
062:
063: public void pcmf_setLazyEnabled(boolean xEn);
064:
065: // @@
066:
067: public void pcmf_writeFile(String xFileName);
068:
069: public Object pcmf_call(String xCall);
070:
071: public void pcmf_setCollectReplies(boolean xCol);
072:
073: public boolean pcmf_getCollectReplies();
074:
075: public void run();
076:
077: public void start();
078:
079: public void pcmf_kill();
080:
081: public Object pcmf_addCtxValue(Object xName, Object xVal);
082:
083: public Object pcmf_getCtxValue(Object xName);
084:
085: public Object pcmf_removeCtxValue(Object xName);
086:
087: public int pcmf_getPort();
088:
089: public InetAddress pcmf_getHost();
090:
091: public String pcmf_getHostName();
092:
093: public boolean pcmf_isClientSide();
094:
095: public boolean pcmf_isAlive();
096:
097: public void pcmf_setTerminateOnSessionClose(boolean xTerminate);
098:
099: public boolean pcmf_supportsFileUpload();
100:
101: public boolean pcmf_supportsLazyLoading();
102:
103: public boolean pcmf_supportsSSL();
104:
105: public boolean pcmf_supportsTransactions();
106:
107: public boolean pcmf_supportsCompression();
108:
109: public void pcmf_execRpcDirect(Object xRpc);
110:
111: public byte[] pcmf_getMessage();
112:
113: public boolean pcmf_supportsPush();
114:
115: public boolean pcmf_supportsDurableConnection();
116:
117: public void pcmf_setClientCommandDispatcher(
118: IHoClientCommandDispatcher xCmd);
119:
120: public String pcmf_record(boolean xRecord);
121:
122: public void pcmf_playback(String xFile, int xMax);
123:
124: public boolean pcmf_isRecord();
125:
126: public int pcmf_getCheckPointValue();
127:
128: public void pcmf_toCheckPoint(int xPoint);
129:
130: public void pcmf_setDisabled(boolean xDis);
131:
132: public boolean pcmf_isDisabled();
133:
134: public void pcmf_setSessionRecorder(IHoSessionRecorder xRecorder);
135:
136: public String pcmf_getId();
137:
138: public void pcmf_echoCall(String xCall);
139:
140: public void pcmf_setAutoEcho(boolean xAuto);
141:
142: public boolean pcmf_doAutoEcho();
143:
144: public boolean pcmf_inResume();
145:
146: public void pcmf_setInResume(boolean xResume);
147:
148: public void pcmf_startTimeout(String xId, IKeExecutable xCleaner);
149:
150: public void pcmf_setTimeout(int xTimeout);
151:
152: public Object pcmf_getRequest();
153:
154: public void pcmf_setRequest(Object xReq);
155: }
|