KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > directory > ldapstudio > proxy > model > LdapMessageWithPDU


1 /*
2  * Copyright 2005 The Apache Software Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */

17
18 package org.apache.directory.ldapstudio.proxy.model;
19
20 import org.apache.directory.shared.ldap.codec.LdapMessage;
21
22
23 /**
24  * A LdapMessage container
25  *
26  * @author <a HREF="mailto:dev@directory.apache.org">Apache Directory Project</a>
27  */

28 public class LdapMessageWithPDU
29 {
30     /** The PDU */
31     private String JavaDoc dumpBytes;
32
33     /** The ldapMessage */
34     private LdapMessage ldapMessage;
35
36     /** The ldap MessaheId */
37     private int messageId;
38
39     public String JavaDoc getDumpBytes()
40     {
41         return dumpBytes;
42     }
43
44     public void setDumpBytes( String JavaDoc dumpBytes )
45     {
46         this.dumpBytes = dumpBytes;
47     }
48
49     public LdapMessage getLdapMessage()
50     {
51         return ldapMessage;
52     }
53
54     public void setLdapMessage( LdapMessage ldapMessage )
55     {
56         this.ldapMessage = ldapMessage;
57     }
58
59     public int getMessageId()
60     {
61         return messageId;
62     }
63
64     public void setMessageId( int messageId )
65     {
66         this.messageId = messageId;
67     }
68 }
69
Popular Tags