Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: plugins/IcqEngine/protocol/IncomingMessage.java


1   /*
2    * IqcMessage.java
3    *
4    * Created on October 31, 2002, 6:35 PM
5    */
6   
7   package plugins.IcqEngine.protocol;
8   
9   /**
10   *
11   * @author  Tobias Riemer
12   */
13  public class IncomingMessage {
14      
15      int tid;
16      
17      public IncomingMessage() {
18      }
19      
20      public IncomingMessage(ByteMessage bmsg) {
21          tid = ByteDecoder.decodeInt(bmsg.getBytes(), 4, 6);
22      }
23      
24      /** Getter for property tid.
25       * @return Value of property tid.
26       */
27      public int getTid() {
28          return tid;
29      }
30      
31      /** Setter for property tid.
32       * @param tid New value of property tid.
33       */
34      public void setTid(int tid) {
35          this.tid = tid;
36      }
37      
38  }