com.mindtree.techworks.insight.receiver
Class RemoteProtocolStreamReceiver.SourceDetails

java.lang.Object
  extended by com.mindtree.techworks.insight.receiver.RemoteProtocolStreamReceiver.SourceDetails
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
RemoteProtocolStreamReceiver

protected class RemoteProtocolStreamReceiver.SourceDetails
extends java.lang.Object
implements java.io.Serializable

Inner class to hold the different objects in relation to a particular source including the LogNamespace, LogInterpreter (including the ReceiverFormat) and if a startup message has been received for this source.

Version:
$Revision: 27 $ $Date: 2007-12-16 04:58:03 -0700 (Sun, 16 Dec 2007) $
Author:
Bindul Bhowmik
See Also:
Serializable, Serialized Form

Constructor Summary
RemoteProtocolStreamReceiver.SourceDetails(short sourceId)
          Creates an instance of this source details.
 
Method Summary
 LogInterpreter getLogInterpreter()
          Returns the logInterpreter
 LogNamespace getLogNamespace()
          Returns the logNamespace
 short getSourceId()
          Returns the sourceId
 boolean isLogNamespaceSet()
          Returns the isLogNamespaceSet
 void setLogInterpreter(LogInterpreter logInterpreter)
          Sets the logInterpreter
 void setLogNamespace(LogNamespace logNamespace)
          Sets the logNamespace
 void setLogNamespaceSet(boolean isLogNamespaceSet)
          Sets the isLogNamespaceSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteProtocolStreamReceiver.SourceDetails

public RemoteProtocolStreamReceiver.SourceDetails(short sourceId)
Creates an instance of this source details.

Parameters:
sourceId - The identifier of the source.
Method Detail

isLogNamespaceSet

public boolean isLogNamespaceSet()
Returns the isLogNamespaceSet

Returns:
Returns the isLogNamespaceSet.

setLogNamespaceSet

public void setLogNamespaceSet(boolean isLogNamespaceSet)
Sets the isLogNamespaceSet

Parameters:
isLogNamespaceSet - The isLogNamespaceSet to set.

getLogNamespace

public LogNamespace getLogNamespace()
Returns the logNamespace

Returns:
Returns the logNamespace.

setLogNamespace

public void setLogNamespace(LogNamespace logNamespace)
Sets the logNamespace

Parameters:
logNamespace - The logNamespace to set.

getSourceId

public short getSourceId()
Returns the sourceId

Returns:
Returns the sourceId.

getLogInterpreter

public LogInterpreter getLogInterpreter()
Returns the logInterpreter

Returns:
Returns the logInterpreter.

setLogInterpreter

public void setLogInterpreter(LogInterpreter logInterpreter)
Sets the logInterpreter

Parameters:
logInterpreter - The logInterpreter to set.


Copyright © 2003-2008 MindTree Consulting Ltd.. All Rights Reserved.