it.polito.elite.doseWS.agency.messages
Class RemoteLoggingMessage

java.lang.Object
  extended byit.polito.elite.doseWS.agency.messages.Message
      extended byit.polito.elite.doseWS.agency.messages.RemoteLoggingMessage

public class RemoteLoggingMessage
extends Message

Title: RemoteLoggingMessage

Description: Report a log message and reports also the name of the agent sending the message and the location from which it originates.

Copyright: Copyright (c) 2004

Company: Politecnico di Torino

Author:
alessio.bosca@polito.it

Constructor Summary
RemoteLoggingMessage(java.lang.String myAgentName, java.lang.String location, java.lang.String log)
           
 
Method Summary
 java.lang.String createMsg()
           
 java.lang.String getAgent()
           
static java.lang.String getID()
           
 java.lang.String getLocation()
           
 java.lang.String getLog()
           
static Message parse(java.lang.String msg)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteLoggingMessage

public RemoteLoggingMessage(java.lang.String myAgentName,
                            java.lang.String location,
                            java.lang.String log)
Method Detail

createMsg

public java.lang.String createMsg()

getID

public static java.lang.String getID()

parse

public static Message parse(java.lang.String msg)

getLog

public java.lang.String getLog()

getAgent

public java.lang.String getAgent()

getLocation

public java.lang.String getLocation()