All Classes

Class Description
AbstractArtifact  
Agent
Represents an acting entity in the network.
AgentAccessDeniedException
Thrown if an agent cannot be unlocked.
AgentAlreadyExistsException
Thrown if an agent already exists, e.g. when storing another agent with the same id.
AgentAlreadyRegisteredException
Exception thrown on an attempt to register an agent, which is already registered.
AgentContext
A context that can be created for an agent to perform operations in the network.
AgentException
Exceptions related to agents.
AgentIdMigrator  
AgentImpl
An Agent is the basic acting entity in the las2peer network.
AgentJoinedContent
Scribe content for a message, the an agent joined the net
AgentLockedException
Thrown if an agent is locked but an unlocked agent is needed to call a method.
AgentNotFoundException
Thrown if an agent cannot be found.
AgentNotRegisteredException
Exception if the an agent is not registered at a node or anywhere in the network.
AgentOperationFailedException
Represents an error caused by the network or the node.
AgentStorage
Interface for agent storages.
AliasConflictException  
AliasNotFoundException  
AnonymousAgent  
AnonymousAgentImpl  
ArtifactPartComparator
This class can be used to sort a collection of NetworkArtifact according to their part index.
BadEthereumCredentialsException
Thrown when an Ethereum wallet file cannot be opened or decoded with the given password.
BasicAgentStorage
A simple Hashtable based storage for agents.
BlockchainRepository  
BlockchainTransactionData
Represents the raw ethereum blockchain transaction
BotAgent  
BotContentGenerator  
BotMessage  
BotStatus  
BroadcastMessageContent
content class for messages to be broadcasted via the pastry ring
ClassLoaderException
base class for class loader exceptions in the las2peer package
ClassLoaderPolicy
An abstract policy to define restrictions to Java packages and classes.
ClassManager
The main class for loading classes in the las2peer environment.
ColoredOutput
A simple static class providing access to the color features of the bash console on standard out.
ColoredOutput.BackgroundColor
An enumeration of possible background colors.
ColoredOutput.Color Deprecated.
ColoredOutput.ForegroundColor
An enumeration of possible foreground (text) colors.
ColoredOutput.Formatting
An enumeration of possible text formatting options.
ColoredOutput.ShellCode  
CommandPrompt
A simple command line for executing commands, generating new instances and handling local variables.
CommandPrompt.ReturnStatus
Enumeration for different return status codes of executed lines.
CommunityTagIndex
Auto generated code.
CommunityTagIndex.CommunityTagCreatedEventResponse  
ConfigFile  
Configurable
Base (abstract) super type for classes that may be configurable via property files.
Connector
Base class for connectors enabling the las2peer network to be accessed from the outside.
ConnectorException
Basic exception for connectors.
Context
Provides access to the context of the current call.
CredentialUtils
Wraps Credentials with convenience methods.
CryptoException
Exception for cryptografical problems.
CryptoTools
Simple static class collecting useful cryptographic methods end encapsulating the access to the underlying cryptografic library.
DecodingFailedException
Exception thrown, if the decoding has failed for some reason.
DefaultPolicy
Default policies with no restrictions.
DoNotMonitor
Disables monitoring for this service.
EmailAlreadyTakenException
Thrown if the email address has already been taken.
EncodingFailedException
Exception thrown if an encoding has failed for some reason.
Envelope
Represents a (mutable) piece of data that is stored in the network.
EnvelopeAccessDeniedException
This exception is thrown if an artifact cannot be opened.
EnvelopeAlreadyExistsException
This exception is thrown if an envelope already exists in the networks DHT.
EnvelopeArtifact  
EnvelopeCollisionHandler
This interface can be used to implement a handler that is called if a collision occurs during a store operation.
EnvelopeException
This general exception or its more specific subclasses are thrown, if an error in relation with the shared storage system occurs.
EnvelopeGenerator
A simple command line tool for generating XML envelopes to the standard out.
EnvelopeImpl  
EnvelopeNotFoundException
This exception is thrown if an artifact was not found in the networks DHT.
EnvelopeOperationFailedException
This exception is thrown if an storage operation fails.
EnvelopeVersion  
EthereumAgent
User agent for las2peer networks with blockchain-based registry.
EthereumException
Thrown for errors related to Ethereum, including execution of the smart contracts themselves, errors in their wrapper code, or communication with the Ethereum client.
EthereumNode
Node implementation that extends the FreePastry-based node with access to an Ethereum blockchain-based service and user registry.
ExecutionContext  
FetchEnvelopeHelper  
FetchHashedHelper  
FileContentReader
A simple reader for string contents of a file or input stream.
FileSystemRepository
implements a repository which loads all libraries from a given directory or from severeal ones.
GenericTransactionData  
GetInfoMessage  
GroupAgent
Represents a group of agents that is an agent itself.
GroupAgentGenerator
A simple command line client generating a group agent XML file.
GroupAgentImpl
An agent representing a group of other agents.
HashedArtifact
This class represents a bunch of arbitrary data in the shared storage.
InfoResponseMessage
this message is sent from node to node as response to an GetInfoMessage
InternalSecurityException
Represents internal security exceptions.
InternalServiceException
Thrown if the service itself has thrown an exception.
InvocationBadArgumentException
Thrown if the service argument validation failed.
JavaVersionException  
L2pLogger  
L2pLogger.ConsoleFormatter
This is the formatter used for the console output.
L2pLogger.ConsoleHandler  
L2pLogger.LogfileFormatter
This is the formatter used for the log file output.
L2pNodeIdFactory  
L2pNodeLauncher
las2peer node launcher It is the main tool for service developers / node maintainers to start their services, upload agents to the network and to test their service methods directly in the p2p network.
L2pNodeLauncherConfiguration  
L2pScribeContent
base class for content published to the pub/sub-facilities of the pastry library (Scribe)
L2pSecurityManager  
L2pStorageInterface  
LatestArtifactVersionFinder
This class is used to manage the process in order to find the latest version for a given identifier.
LibraryIdentifier
a basic class managing a library identifier of the format name-number where number fits the format of LibraryVersion
LibraryNotFoundException
exception thrown if a requested library cannot be found in a repository
LibraryVersion
a simple class managing a library version number in the format major.minor.subversion-build where minor, subversion and build are optional
ListMethodsContent  
LoadedJarLibrary
a loaded jar library implements a library on the basis of a standard jar file
LoadedLibrary
a loaded library represents a library in the l2p classloader context
LoadedNetworkLibrary
This class is stored in the network and represents a network library.
LocalNode
Implementation of the abstract Node class mostly for testing purposes.
LocalNodeManager  
LocalNodeStarter
Command line tool for starting a LocalNode and set up some artifacts from a directory containing XML files.
LocalServiceTestCase
Helper class to implement JUnit-Test for services to be published in a las2peer environment.
LocalStorage  
Logger  
LoginNameAlreadyTakenException
Thrown if the login name has already been taken.
MalformedXMLException
Exception for problems with XML-deserialization.
ManualDeployment
Disables self-deployment for this service.
Mediator
A Mediator acts on behalf of an PassphraseAgentImpl.
MergeCounter
This class is used in the collision handling process.
MergeFailedException
Indicates that merging envelopes failed.
Message
Base class for sending messages between AgentImpls.
MessageEnvelope
a simple envelope for sending las2peer messages through the pastry network
MessageException
exception thrown on problems to handle messages inside an agent
MessageHandler
A simple interface to register message handlers to Mediators.
MessageReceiver
An interface for receiving messages in the p2p network.
MessageResultListener
A MessageResultListener is a simple collector for one result of a message sending operation in a Node.
MessageResultListener.Status
a simple message status flag
MetadataArtifact  
MetadataEnvelope  
MockAgentFactory
Simple Factory class to load Agents from the nested XML files.
MonitoringAgent
A MonitoringAgent is responsible for sending monitoring information collected at the MonitoringObserver.
MonitoringEvent
A monitoring event.
MonitoringMessage
This class stores a message that was logged by the monitoring module of las2peer.
MonitoringObserver
This is the base class of the logging module of las2peer.
MultiArtifactHandler
This class is used to handle the lookup and retrieve process for a bunch of NetworkArtifacts.
MultiStoreResult
This class is used to handle the multiple store results generated from a parted artifact insert.
MyOwnException
A simple exception for testing, thrown inside the TestService.
NetworkArtifact
A network artifact is a bunch of arbitrary data in the shared storage.
Node
Base class for nodes in the las2peer environment.
Node.NodeStatus
Enum with the possible states of a node.
Node.SendMode
The Sending mode for outgoing messages.
NodeApplication
The NodeApplication implements the interface for message based interaction with the pastry p2p network.
NodeException
base class for any exception occurring in a Node
NodeInformation
A NodeInformation gives basic information about a node.
NodeNotFoundException
Exception thrown on access to a node which is not known to the network.
NodeObserver
The NodeObserver is an interface providing all necessary methods to monitor all interesting node events for a Node (mainly PastryNodeImpl).
NodeServiceCache
Caches the knowledge about existing services
NodeStorageInterface  
NotCreatableService
A simple Service for testing failures in the constructor of a service.
NotFoundException
Thrown when a registry lookup (of users, services, etc.) fails because the entry does not exist.
NotRegisteredException
thrown by the ClassManager on access to a resource that is not registered
NotStartingService
A simple service for testing a service which has problems in the notification method of node registering.
OIDCSubAlreadyTakenException
Thrown if the OIDC sub has already been taken.
OverwriteException
A simple exception thrown on a forbidden attempt to overwrite an envelope.
PackageUploader  
PackageUploader.ServiceVersionList  
PassphraseAgent
Represents an agent that can be unlocked using a passphrase.
PassphraseAgentImpl
Base class for pass phrase protected agents.
PastFetchContinuation
This class is required by Past for the fetch process.
PastInsertContinuation
This class is required by Past for the insert process.
PastLookupContinuation
This class is required by Past for the lookup process.
PastryNodeImpl
A FreePastry implementation of a las2peer Node.
PastryStorageException
Exception thrown on failures in the underlying pastry storage
PastryTestMessage
A simple test message to be sent through the pastry network will be removed later
PingPongContent
a simple content for ping and pong message
ReadOnlyRegistryClient
Facade providing simple read-only access to the registry smart contracts.
ReadWriteRegistryClient
Facade providing simple read/write access to the registry smart contracts.
RegistryConfiguration  
Repository
a repository provides the ClassManager with needed libraries (jars) in form of LoadedLibrary implementations
ReputationRegistry
Auto generated code.
ReputationRegistry.ErrorEventEventResponse  
ReputationRegistry.GenericTransactionAddedEventResponse  
ReputationRegistry.TransactionAddedEventResponse  
ReputationRegistry.TransactionCountChangedEventResponse  
ReputationRegistry.TransactionScoreChangedEventResponse  
ReputationRegistry.UserProfileCreatedEventResponse  
ReputationTransactionData
Contains reputation transaction data exactly as stored in blockchain.
ResourceNotFoundException
Thrown if the service could not find the requested resource.
ResourceNotFoundException
Exception thrown on not found resources within a LoadedLibrary
RestrictivePolicy
Policy aimed for production use: Restricts access from the service to the node and some JDK methods.
RMIExceptionContent
a simple message content for an Message indicating an exception thrown via an remote method invocation
RMIResultContent
a simple content class for a Message indicating a successful execution of an remote invocation task
RMITask
a simple invocation task
SearchAgentContent
A content to be published to an agent's scribe topic, if someone is looking for running versions of this agent.
SearchAnswerMessage
A message as answer to a SearchAgentContent indicating that the requested agent is running at the sending node of this response message
SenderReceiverDoubleKey  
SerializationException
Base class for exceptions indicating serialization problems.
SerializeTools
Static class as collection of serialization and deserialization methods.
Service
Base class for services to be hosted within the las2peer network.
ServiceAccessDeniedException
Thrown if access to the service (method) has been denied.
ServiceAgent
Represents an agent responsible for executing a service on a node.
ServiceAgentGenerator
A simple command line tool creating a service agent for the given service class.
ServiceAgentImpl
A service agent represents a service and its access rights in the las2peer setting.
ServiceAliasManager
Responsible for mapping service aliases to service names and resolving paths to service names.
ServiceClassLoader
A service class loader is responsible for loading classes from the service bundle, probably loaded via a Repository
ServiceDeploymentData  
ServiceDiscoveryContent  
ServiceException
Thrown if the service detected an error during starting or stopping a service.
ServiceHelper
static helper methods for invocation of service methods via reflection
ServiceInvocationException
Represents an exception during a service invocation.
ServiceInvocationFailedException
Thrown if the service invocation failed for some reason.
ServiceMethodNotFoundException
Thrown if a service method does not exist.
ServiceNameVersion
identifies a service name and version
ServiceNotAuthorizedException
Thrown if access to the service requires a logged in user.
ServiceNotAvailableException
Thrown if the service is temporarily not available.
ServiceNotFoundException
Thrown if the service has not been found.
ServicePackageException
This exception is thrown if an issues occurs with a service package (jar) or while handling its dependencies.
ServiceRegistry
Auto generated code.
ServiceRegistry.ServiceCreatedEventResponse  
ServiceRegistry.ServiceDeploymentEndEventResponse  
ServiceRegistry.ServiceDeploymentEventResponse  
ServiceRegistry.ServiceReleasedEventResponse  
ServiceReleaseData  
ServiceThread  
ServiceThreadFactory  
ServiceVersion
a simple class managing a service version number in the format major.minor.subversion-build where minor, subversion and build are optional
SharedStorage  
SharedStorage.STORAGE_MODE
Storage mode for the pastry node – either use only memory or the file system for stored artifacts.
SharedStorageRepository  
SignatureUtils  
SimpleTools
Collection of simple tools not large enough to form a separate class.
StopMergingException
This exception should be thrown by a StorageCollisionHandler if there should be no further merging attempt.
StorageArtifactHandler  
StorageCollisionHandler
This interface can be used to implement a handler that is called if a collision occurs during a store operation.
StorageEnvelopeHandler
This interface can be used to implement a handler that receives successfully fetched envelopes from the network.
StorageExceptionHandler
This interface can be used to implement a handler that recieves exceptions occurring during network operations.
StorageLookupHandler  
StoragePartsHandler  
StorageStoreResultHandler
This interface can be used to implement a handler that receives the result from a store operation.
StoreProcessHelper  
TestAgent  
TestService
Simple test service for connectors to have a service with methods to call.
TestSuite
This class provides methods for developers to simplify JUnit test creation.
TimeoutException
A simple exception thrown on timeouts.
UnlockAgentCall
a Message that tells the receiving Agent to unlock the calling Agent and contains another Object
UserAgent
An agent representing a user.
UserAgentGenerator
A simple command line tool creating a new agent.
UserAgentImpl
An UserAgent represent a (End)user of the las2peer system.
UserAgentManager
Maps usernames and emails to UserAgentImpls.
UserData
Contains user data exactly as stored in blockchain.
UserProfileData
Contains reputation transaction data exactly as stored in blockchain.
UserRegistry
Auto generated code.
UserRegistry.UserRegisteredEventResponse  
UserRegistry.UserTransferredEventResponse  
Util
Helper methods mostly for converting data.
VerificationFailedException
Exception thrown on failed cryptografic signature verifications.
WaiterThread<T>
A simple thread waiting for a result.
XmlAble
The old XmlAble interface enforced an setStateFromXmlMethod.
XmlTools
Simple static class collecting useful methods for XML (de-)serialization.