org.cougaar.mts.std |
This package contains optional MTS software components, primarily Aspects
and LinkProtocols, that are typically used for a full-blown run but
can be omitted to make a smaller COUGAAR.
For a more complete description of the MTS, see
Message Transport Service online manual
.
|
Java Source File Name | Type | Comment |
AddressChangeServletComponent.java | Class | This Component tests the
MessageTransportRegistryService by
invoking its ipAddressChanged method. |
AgentLocalStatusServlet.java | Class | This Servlet displays the local MTS statistics, as returned by the
AgentStatusService . |
AgentRemoteStatusServlet.java | Class | This Servlet displays the remote MTS statistics, as returned by the
AgentStatusService , for the Agent in which it's loaded. |
AgentStatusAspect.java | Class | This Aspect implements the
AgentStatusService . |
AgentStatusServlet.java | Class | This servlet displays MTS statistics for the Agent in which it's
loaded. |
AspectFactory.java | Class | The root class of all aspect-ready factories. |
AspectSupport.java | Interface | This is an MTS-internal utility service which supports the use of
aspects. |
AspectSupportImpl.java | Class | This
ServiceProvider provides the
AspectSupport service, which is implemented by an inner class. |
AttributedMessage.java | Class | An AttributedMessage is a Message with metadata, the latter
represented as HashMap with String keys. |
BufferedStreamsAspect.java | Class | This Aspect uses buffered streams in the
MessageReader and
MessageWriter . |
CachingStreamsAspect.java | Class | This Aspect caches the serialized message in a byte array as its
btyes pass by. |
ChecksumStreamsAspect.java | Class | This class provides an example of adding trailers to serialized
AttributedMessage s. |
CountBytesStreamsAspect.java | Class | This Aspect counts the bytes of an outgoing message flowing by and
sets a local attribute org.cougaar.core.message.count
with the final value. |
DeliveryVerificationAspect.java | Class | This Aspect logs the delivery of messages, as well as the delay if
the delivery takes awhile. |
DestinationQueueMonitorPlugin.java | Class | This Component loads the
DestinationQueueMonitorServlet . |
DestinationQueueMonitorServlet.java | Class | This Servlet displays the state of the DestinationQueues. |
DestinationThreadConstrictor.java | Class | This test Component restricts the number of available threads and
modifies the thread queue order to be more fair with the remaining
rights. |
DetectBigMessageAspect.java | Class | This Aspect logs large messages, where large is defined by the
MaxMsgLen parameter as a threshold number of bytes. |
ForwardMessageLoggingAspect.java | Class | This test Aspect logs all outgoing messages, including in each log
the source and destination Agent, the destination Node, and the
destination Host. |
FuseServerSocket.java | Class | This test entity can be used as a wrapper for RMI ServerSockets. |
FutileSerializingLinkProtocol.java | Class | This
LinkProtocol is purely a debugging aid. |
HeartBeatAspect.java | Class | This test Aspect sends periodic 'heartbeat' messages to a specified
destination, as given by the dstAddr parameter. |
MessageProtectionAspect.java | Class | This Aspect puts the
MessageProtectionService streams in
place. |
MessageQueueDumpServiceComponent.java | Class | This class and its related service have a very specialized role.
They exist solely to allow one external class, the StateDumpService
implementation, to dump the current message queues. |
MessageSendTimeAspect.java | Class | Aspect that tags all messages with a "send time" attribute when
they enter the MTS SendLink. |
MessageTimeoutAspect.java | Class | Aspect to throw out a timed out message. |
MessageTraceAspect.java | Class | This test Aspect logs message delivery elapsed time. |
MessageWatcherServiceImpl.java | Class | This entity implements the
MessageWatcherService . |
MetricsBlastTestAspect.java | Class | This test Aspect throws lots of data into the metrics service and
subscrobes to a formula which uses that data. |
MetricsTestAspect.java | Class | This test Aspect queries and updates the metric service on every
message send. |
MulticastAspect.java | Class | This Aspect provides support for multicast messages. |
OldIncarnationAspect.java | Class | This Aspect assists in the detection of out-of-date incarnations of
Agents. |
PreserializingStreamsAspect.java | Class | This test Aspect preserializes messages into a byte array, sends
the array instead of the message over the RMI stream, and then
deserializes on the other end. |
PrioritizedThreadsAspect.java | Class | Not an aspect, but the aspect mechanism provides a simple way to
load classes on demand. |
SampleSocketControlPolicy.java | Class | This Component is an example of
SocketControlPolicy . |
ScrambleAspect.java | Class | This test Aspect scrambles the order of messages. |
SecurityAspect.java | Class | This Aspect uses the (obsolete?)
MessageSecurityManager interface to secure message traffic in a simple way. |
SequenceAspect.java | Class | This Aspect adds sequence numbers to messages, and enforces
sequencing based on those numbers. |
SerializationAspect.java | Class | This is debugging Aspect forces serialization on the
LoopbackLinkProtocol . |
ServiceTestAspect.java | Class | This test Aspect is an example of using a
LinkProtocol -specific service. |
StatisticsAspect.java | Class | This Aspect gathers message size and count statistics using the
InputStream and OutputStream of streamed protocols. |
StatisticsPlugin.java | Class | This Plugin loads three servlets:
StatisticsServlet ,
AgentRemoteStatusServlet and
AgentLocalStatusServlet . |
StatisticsServlet.java | Class | This Servlet uses the
MessageStatistics to display message
size and count statistics for the Node. |
StepperAspect.java | Class | This Aspect includes the ServiceProvider for and implementation of
the
StepService , as well as a use of that service in a
Swing gui. |
StepperControlExampleAspect.java | Class | This example Aspect shows a simple use of the
StepService . |
StepService.java | Interface | This MTS-internal Service can be used to 'single-step' a message
through the stations. |
StubDumperAspect.java | Class | This debugging Aspect logs URIs and stubs of local and remote
references, respectively. |
TraceAspect.java | Class | This demonstration Aspect provides a simple trace of a message as
it passes through the various stages of the message transport
subsystem. |
WasteCPUAspect.java | Class | This debugging Aspect deliberately delays message processing by
wasting CPU for pseudo-random durations. |
WatcherAspect.java | Class | This Aspect is used in conjunction with
MessageWatcherServiceImpl , the implementaion of the
MessageWatcherService . |
ZinkyMessageTraceAspect.java | Class | |