|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--xinca.components.XWebLog
The xINCA xWebLog component - a proxy web logger system.
Copyright (c) 2002 ICMC-USP.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
| Field Summary |
| Fields inherited from interface edu.gatech.coc.inca.arch.constants.AttributeConstants |
ATTRIBUTE_NAME__APPLICATION, ATTRIBUTE_NAME__APPLICATION_EVENT, ATTRIBUTE_NAME__CONTEXT_TYPE, ATTRIBUTE_NAME__DATA_TYPE, ATTRIBUTE_NAME__EVENT, ATTRIBUTE_NAME__LOCATION, ATTRIBUTE_NAME__PERSON, ATTRIBUTE_NAME__TIMESTAMP, ATTRIBUTE_VALUE__AUDIO_DATA, ATTRIBUTE_VALUE__PEOPLE_PRESENT_CONTEXT, ATTRIBUTE_VALUE__VIDEO_DATA |
| Constructor Summary | |
XWebLog(int sessionID,
xinca.components.XWebLogListener xWebLogListener,
int port,
java.lang.String username,
boolean captureOn,
boolean accessOn)
Constructor |
|
XWebLog(int sessionID,
xinca.components.XWebLogListener xWebLogListener,
java.lang.String username,
boolean captureOn,
boolean accessOn)
Constructor |
|
XWebLog(int sessionID,
xinca.components.XWebLogListener xWebLogListener,
java.lang.String host,
int port,
java.lang.String username,
boolean captureOn,
boolean accessOn)
Constructor |
|
XWebLog(int sessionID,
xinca.components.XWebLogListener xWebLogListener,
java.lang.String host,
java.lang.String username,
boolean captureOn,
boolean accessOn)
Constructor |
|
XWebLog(xinca.components.XWebLogListener xWebLogListener,
java.lang.String username,
boolean captureOn,
boolean accessOn)
Constructor |
|
| Method Summary | |
common.data.Weblogml |
getWebLogml()
This method gets the weblogml member |
void |
handle(edu.gatech.coc.inca.arch.data.DataObject data_object)
Callback method to handle a data_object this accessor is being notified of |
void |
handle(edu.gatech.coc.inca.arch.data.DataVector data_vector)
Callback method to handle a data_vector this accessor is being notified of |
boolean |
handle(java.lang.String request,
java.lang.String url,
java.lang.String referer,
java.lang.String post_content,
java.lang.String client_address,
java.io.OutputStream client_outstream,
edu.gatech.coc.inca.arch.net.WebProxy proxy,
boolean handled)
Callback method to handle proxy connections |
void |
setWebLogml(common.data.Weblogml webLogml)
This method sets the weblogml member |
void |
stateChanged(edu.gatech.coc.inca.arch.module.AccessModule module,
boolean ready)
Callback method to the state change of the access module |
void |
stateChanged(edu.gatech.coc.inca.arch.module.CaptureModule module,
boolean ready)
Callback method to the state change of the capture module |
void |
update(edu.gatech.coc.inca.arch.data.DataObject old_data,
edu.gatech.coc.inca.arch.data.DataObject new_data)
Callback method to indicate a update event in the capture module |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XWebLog(xinca.components.XWebLogListener xWebLogListener,
java.lang.String username,
boolean captureOn,
boolean accessOn)
xWebLogListener - is the XWebLogListener listening this moduleusername - is the user UIDcaptureOn - is the capture On/Off flagaccessOn - is the access On/Off flag
public XWebLog(int sessionID,
xinca.components.XWebLogListener xWebLogListener,
java.lang.String username,
boolean captureOn,
boolean accessOn)
sessionID - is the current session's IDxWebLogListener - is the XWebLogListener listening this moduleusername - is the user UIDcaptureOn - is the capture On/Off flagaccessOn - is the access On/Off flag
public XWebLog(int sessionID,
xinca.components.XWebLogListener xWebLogListener,
int port,
java.lang.String username,
boolean captureOn,
boolean accessOn)
sessionID - is the current session's IDxWebLogListener - is the XWebLogListener listening this moduleport - is the InCAd portusername - is the user UIDcaptureOn - is the capture On/Off flagaccessOn - is the access On/Off flag
public XWebLog(int sessionID,
xinca.components.XWebLogListener xWebLogListener,
java.lang.String host,
java.lang.String username,
boolean captureOn,
boolean accessOn)
sessionID - is the current session's IDxWebLogListener - is the XWebLogListener listening this modulehost - is the InCAd hostusername - is the user UIDcaptureOn - is the capture On/Off flagaccessOn - is the access On/Off flag
public XWebLog(int sessionID,
xinca.components.XWebLogListener xWebLogListener,
java.lang.String host,
int port,
java.lang.String username,
boolean captureOn,
boolean accessOn)
sessionID - is the current session's IDxWebLogListener - is the XWebLogListener listening this modulehost - is the InCAd hostport - is the InCAd portusername - is the user UIDcaptureOn - is the capture On/Off flagaccessOn - is the access On/Off flag| Method Detail |
public common.data.Weblogml getWebLogml()
public void setWebLogml(common.data.Weblogml webLogml)
public void stateChanged(edu.gatech.coc.inca.arch.module.CaptureModule module,
boolean ready)
stateChanged in interface edu.gatech.coc.inca.arch.module.Capturermodule - is the capture moduleready - is the boolean state of the capture module
public void stateChanged(edu.gatech.coc.inca.arch.module.AccessModule module,
boolean ready)
stateChanged in interface edu.gatech.coc.inca.arch.module.Accessormodule - is the access moduleready - is the boolean state of the access modulepublic void handle(edu.gatech.coc.inca.arch.data.DataObject data_object)
data_object - is the DataObject to handlepublic void handle(edu.gatech.coc.inca.arch.data.DataVector data_vector)
handle in interface edu.gatech.coc.inca.arch.module.Accessordata_vector - is the DataVector to handle
public void update(edu.gatech.coc.inca.arch.data.DataObject old_data,
edu.gatech.coc.inca.arch.data.DataObject new_data)
update in interface edu.gatech.coc.inca.arch.module.Accessorold_data - is the old DataObjectnew_data - is the updated DataObject
public boolean handle(java.lang.String request,
java.lang.String url,
java.lang.String referer,
java.lang.String post_content,
java.lang.String client_address,
java.io.OutputStream client_outstream,
edu.gatech.coc.inca.arch.net.WebProxy proxy,
boolean handled)
handle in interface edu.gatech.coc.inca.arch.net.WebProxyListenerrequest - is the String request from the clienturl - is the String URL being requestedreferer - is the String URL of the page referring this URL requestpost_content - is the String content being posted (if any)client_address - is the address name (or ip) of the clientclient_outstream - is the OutputStream to the clientproxy - is the WebProxy referencehandled - is a boolean, specifying if the request has been handled or not...
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||