honeyrj
Class HoneyRJ

java.lang.Object
  extended by honeyrj.HoneyRJ

public class HoneyRJ
extends java.lang.Object

Author:
Eric Peter HoneyRJ coordinates a number of LIModules, which provide faux services to hackers. HoneyRJ is the final destination for all log files created by the LIModules.
See Also:
LIModule

Constructor Summary
HoneyRJ()
          constructor
 
Method Summary
 void DebugServices()
           
 boolean DeRegisterService(LIModule moduleToBeDisconnected)
          disconncts the given module from the HoneyRJ the module will attempt to send its logs back to us
 boolean PauseNewConnections(LIModule moduleToPause)
          Pause the given module from accepting connections
 boolean RegisterService(LIModule moduleToBeConnected)
          register a given LIModule with this HoneyRJ
 boolean ResumeNewConnections(LIModule moduleToResume)
          Resumes the given module to accepting connections
 boolean startModule(LIModule moduleToStart)
          grabs the port # from the module and starts the local copy
 boolean startPort(int portToStart)
          attempt to start the module running on the given port
 void storeLogFiles(java.util.TreeMap<java.util.Date,LogFile> files)
          accept a collection of LogFiles from a module and store them
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HoneyRJ

public HoneyRJ()
constructor

Method Detail

startPort

public boolean startPort(int portToStart)
attempt to start the module running on the given port

Parameters:
portToStart - int
Returns:
false if it fails to start or does not exist

startModule

public boolean startModule(LIModule moduleToStart)
grabs the port # from the module and starts the local copy

See Also:
startPort(int)

RegisterService

public boolean RegisterService(LIModule moduleToBeConnected)
register a given LIModule with this HoneyRJ

Parameters:
moduleToBeConnected -
Returns:
false if there already exists a Module on the port of moduleToBeConnected
See Also:
LIModule.registerParent(HoneyRJ)

DeRegisterService

public boolean DeRegisterService(LIModule moduleToBeDisconnected)
disconncts the given module from the HoneyRJ the module will attempt to send its logs back to us

Parameters:
moduleToBeDisconnected -
Returns:
false if the module isn't in the HoneyRJ

PauseNewConnections

public boolean PauseNewConnections(LIModule moduleToPause)
Pause the given module from accepting connections

Parameters:
moduleToPause -
Returns:
false if the module isn't in the HoneyRJ

ResumeNewConnections

public boolean ResumeNewConnections(LIModule moduleToResume)
Resumes the given module to accepting connections

Parameters:
moduleToResume -
Returns:
false if the module isn't in the HoneyRJ

storeLogFiles

public void storeLogFiles(java.util.TreeMap<java.util.Date,LogFile> files)
accept a collection of LogFiles from a module and store them

Parameters:
files -

DebugServices

public void DebugServices()