01: /*
02: * $Id: LogInfoContainer.java,v 1.6 2005/11/30 11:28:15 ss150821 Exp $
03: * $Source: /m/portal/ps/srap/src/com/sun/portal/util/LogInfoContainer.java,v $
04: * $Log: LogInfoContainer.java,v $
05: * Revision 1.6 2005/11/30 11:28:15 ss150821
06: * 6356996 - Srap Code base needs to save files in the unix file format and not windows
07: *
08: * Revision 1.5 2005/02/23 11:39:14 ss150821
09: * RFE 6223490 - SRA Should use JDK based logging
10: *
11: * Revision 1.4 2005/02/21 08:03:17 ss150821
12: * 6223490 - JDK Logging move for SRA
13: *
14: * Revision 1.3 2005/02/17 08:27:38 ss150821
15: * RFE 6223490 - Add JDK Logging Support to SRA
16: *
17: * Revision 1.2 2004/07/01 10:57:16 ss144266
18: * END TO END SSL SUPPORT FOR PROXYLET - QWEST REQUIREMENT
19: *
20: * Revision 1.1 2002/06/14 09:04:23 rt130506
21: * SRAP rebranding
22: *
23: * Revision 1.2 2002/06/11 16:02:12 bv131302
24: * new branded
25: *
26: * Revision 1.1 2002/03/18 10:19:59 mm132998
27: * Bug ID : # 4653988 CRT : # 574 Desc : Lihue PRD 7.4.4.1 and requirements for Bug 4195483
28: *
29: *
30: */
31: /*
32: * LogInfo.java
33: *
34: * Created on March 15, 2002, 6:22 PM
35: */
36:
37: package com.sun.portal.util;
38:
39: import java.net.Socket;
40:
41: import com.sun.portal.netlet.econnection.ReaderWriter;
42:
43: /*
44: *
45: * @author Mridul Muralidharan
46: */
47: public class LogInfoContainer {
48:
49: private Integer logId = null;
50:
51: private Socket fromClient = null;
52:
53: private ReaderWriter rw = null;
54:
55: private Thread _t = null;
56:
57: private Object waitObj = null;
58:
59: /** Creates new LogInfo */
60: public LogInfoContainer(Integer logId, Socket fromClient) {
61: this .logId = logId;
62: this .fromClient = fromClient;
63: }
64:
65: public LogInfoContainer(Integer logId, ReaderWriter rw) {
66: this .logId = logId;
67: this .rw = rw;
68: }
69:
70: public LogInfoContainer(Integer logId, Thread _t) {
71: this .logId = logId;
72: this ._t = _t;
73: }
74:
75: public LogInfoContainer(Integer logId, Object waitObj) {
76: this .logId = logId;
77: this .waitObj = waitObj;
78: }
79:
80: public Thread getReaderThread() {
81: return _t;
82: }
83:
84: public ReaderWriter getReaderWriter() {
85: return rw;
86: }
87:
88: public Object getWaitObject() {
89: return waitObj;
90: }
91:
92: public Integer getLogID() {
93: return logId;
94: }
95:
96: public Socket getClientSocket() {
97: return fromClient;
98: }
99: }
|