| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Hashtable | |
| public final IMessageHandler | |
| public final CountingMessageHandler |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | Returns: delegate.handleMessage(IMessage)the IMessage to handle - never null message)Implements org. |
| public boolean | |
| public void | |
| private void | |
| public boolean | Returns: delegate.isIgnoring(IMessage.Kind)Implements org. |
| public static CountingMessageHandler | |
| public int | Returns: number of messages of this kind (optionally or greater)the IMessage.Kind of the messages to count (if null, count all) kind,if true, then count this kind and any considered greater by the ordering of IMessage.Kind#COMPARATOR orGreater)Return count of messages seen through this interface. |
| private int | |
| public void | |
| public String | Returns: delegate.toString()Overrides java. |
| counters | back to summary |
|---|---|
| private final Hashtable<IMessage. | |
| delegate | back to summary |
|---|---|
| public final IMessageHandler delegate | |
| proxy | back to summary |
|---|---|
| public final CountingMessageHandler proxy | |
| CountingMessageHandler | back to summary |
|---|---|
| public CountingMessageHandler(IMessageHandler delegate) | |
| dontIgnore | back to summary |
|---|---|
| public void dontIgnore(IMessage. Implements org. Delegate | |
| handleMessage | back to summary |
|---|---|
| public boolean handleMessage(IMessage message) throws AbortException Implements org. Doc from org. Handle message, by reporting and/or throwing an AbortException.
| |
| hasErrors | back to summary |
|---|---|
public boolean hasErrors()
| |
| ignore | back to summary |
|---|---|
| public void ignore(IMessage. Implements org. Delegate | |
| increment | back to summary |
|---|---|
| private void increment(IMessage. | |
| isIgnoring | back to summary |
|---|---|
| public boolean isIgnoring(IMessage. Implements org. Doc from org. Signal clients whether this will ignore messages of a given type. Clients may use this to avoid constructing or sending certain messages.
| |
| makeCountingMessageHandler | back to summary |
|---|---|
| public static CountingMessageHandler makeCountingMessageHandler(IMessageHandler handler) | |
| numMessages | back to summary |
|---|---|
| public int numMessages(IMessage. Return count of messages seen through this interface.
| |
| numMessages | back to summary |
|---|---|
| private int numMessages(IMessage. | |
| reset | back to summary |
|---|---|
| public void reset() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| private |
| count | back to summary |
|---|---|
| pack-priv int count | |
| IntHolder | back to summary |
|---|---|
| private IntHolder() | |