~viktor.balazs/ehub/1-0-0

« back to all changes in this revision

Viewing changes to dcwatch-interfaces/src/main/java/hu/dcwatch/interfaces/Message.java

  • Committer: CyB
  • Date: 2010-03-21 00:49:44 UTC
  • Revision ID: cyb@dcwatch.hu-20100321004944-8s6ua6ttpsdv7vef
* Developing web UI

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*      
 
2
        Copyright (C) 2010  Viktor Balazs (CyB)
 
3
        
 
4
        This program is free software: you can redistribute it and/or modify
 
5
        it under the terms of the GNU General Public License as published by
 
6
        the Free Software Foundation, either version 3 of the License, or
 
7
        (at your option) any later version.
 
8
        
 
9
        This program is distributed in the hope that it will be useful,
 
10
        but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
        GNU General Public License for more details.
 
13
        
 
14
        You should have received a copy of the GNU General Public License
 
15
        along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
16
 */
 
17
package hu.dcwatch.interfaces;
 
18
 
 
19
/**
 
20
 * @author Viktor Balázs (CyB)
 
21
 */
 
22
public interface Message {
 
23
        /**
 
24
         * Visszaadja az üzenetet
 
25
         * 
 
26
         * @return Az üzenet
 
27
         */
 
28
        public Object getMessage();
 
29
 
 
30
        /**
 
31
         * Visszaadja az üzenet címzettjét
 
32
         * 
 
33
         * @return Az üzenet címzettje
 
34
         */
 
35
        public Session getRecipient();
 
36
 
 
37
        /**
 
38
         * Visszaadja az üzenet küldőjét
 
39
         * 
 
40
         * @return Az üzenet küldője
 
41
         */
 
42
        public Session getSender();
 
43
 
 
44
        /**
 
45
         * Visszaadja a forrás végpontot
 
46
         * 
 
47
         * @return A forrás végpont
 
48
         */
 
49
        public Endpoint getSource();
 
50
 
 
51
        /**
 
52
         * Visszaadja a cél végpontot
 
53
         * 
 
54
         * @return A cél végpont
 
55
         */
 
56
        public Endpoint getTarget();
 
57
 
 
58
        /**
 
59
         * Visszaadja az üzenet típusát
 
60
         * 
 
61
         * @return Az üzenet típusa
 
62
         */
 
63
        public String getType();
 
64
}