| Package | Description |
|---|---|
| de.alpharogroup.design.pattern.observer |
Provides abstract classes for the generic implementation for the observer pattern.
|
| de.alpharogroup.design.pattern.observer.api |
Provides interfaces for the generic implementation for the observer pattern.
|
| de.alpharogroup.design.pattern.observer.chat |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractSubject<T,O extends Observer<T>>
The Class AbstractSubject is an implementation from the interface Subject.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractObserver<T>
A generic implementation from the Observer-Pattern.
|
| Modifier and Type | Field and Description |
|---|---|
protected Subject<T,Observer<T>> |
AbstractObserver.subject
The subject.
|
| Constructor and Description |
|---|
AbstractObserver(Subject<T,Observer<T>> subject)
Constructor for a new observer object.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Subject<T,O extends Observer<T>>
The interface
Subject represents the "subject" (which is being "observed") being part of
the object whose state change is being observed, to be communicated to the observers upon
occurrence. |
| Modifier and Type | Class and Description |
|---|---|
class |
ChatRoomUser<M extends Message<?>>
The class
ChatRoomUser. |
Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.