01: /*
02: * Created on 09.10.2004
03: *
04: * To change the template for this generated file go to
05: * Window - Preferences - Java - Code Generation - Code and Comments
06: */
07: package de.schlund.pfixcore.example.webservices.chat;
08:
09: import de.schlund.pfixcore.workflow.ContextResource;
10:
11: /**
12: * @author ml
13: *
14: * To change the template for this generated type comment go to
15: * Window - Preferences - Java - Code Generation - Code and Comments
16: */
17: public interface ContextChat extends ContextResource {
18:
19: public void login(String nickName) throws Exception;
20:
21: public void logout() throws Exception;
22:
23: public void sendMessage(String txt, String[] recipients)
24: throws Exception;
25:
26: public void addMessage(Message msg);
27:
28: public Message[] getMessages();
29:
30: public Message[] getLastMessages();
31:
32: public String[] getNickNames();
33:
34: }
|