| Package | Description |
|---|---|
| won.protocol.exception | |
| won.protocol.model | |
| won.protocol.model.unread | |
| won.protocol.repository | |
| won.protocol.util | |
| won.protocol.vocabulary |
| Modifier and Type | Method and Description |
|---|---|
ConnectionState |
IllegalMessageForConnectionStateException.getConnectionState() |
| Constructor and Description |
|---|
IllegalMessageForConnectionStateException(java.net.URI connectionURI,
java.lang.String methodName,
ConnectionState connectionState) |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionState |
ConnectionState.create(ConnectionEventType msg) |
static ConnectionState |
ConnectionState.fromURI(java.net.URI uri)
Tries to match the given URI against all enum values.
|
ConnectionState |
Connection.getState() |
static ConnectionState |
ConnectionState.parseString(java.lang.String fragment)
Tries to match the given string against all enum values.
|
ConnectionState |
ConnectionState.transit(ConnectionEventType msg) |
static ConnectionState |
ConnectionState.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionState[] |
ConnectionState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ConnectionState.closeOnAtomDeactivate(ConnectionState state) |
boolean |
ConnectionEventType.isMessageAllowed(ConnectionState stateToCheck) |
void |
Connection.setState(ConnectionState state) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionState |
UnreadMessageInfoForConnection.getConnectionState() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<ConnectionState,UnreadMessageInfo> |
UnreadMessageInfoForAtom.getUnreadInfoByConnectionState() |
| Constructor and Description |
|---|
UnreadMessageInfoForConnection(java.net.URI connectionURI,
ConnectionState connectionState,
long count,
java.util.Date newestTimestamp,
java.util.Date oldestTimestamp) |
UnreadMessageInfoForConnection(java.net.URI connectionURI,
ConnectionState connectionState,
UnreadMessageInfo unreadInformation) |
| Modifier and Type | Method and Description |
|---|---|
long |
ConnectionRepository.countByAtomURIAndState(java.net.URI atomURI,
ConnectionState connectionState) |
long |
ConnectionRepository.countBySocketURIAndState(java.net.URI socketURI,
ConnectionState connectionState) |
java.util.List<Connection> |
ConnectionRepository.findByAtomURIAndNotState(java.net.URI atomURI,
ConnectionState connectionState) |
java.util.List<Connection> |
ConnectionRepository.findByAtomURIAndNotStateForUpdate(java.net.URI atomURI,
ConnectionState connectionState) |
java.util.List<Connection> |
ConnectionRepository.findByAtomURIAndSocketURIAndNotState(java.net.URI atomURI,
java.net.URI socketURI,
ConnectionState connectionState) |
java.util.List<Connection> |
ConnectionRepository.findByAtomURIAndSocketURIAndNotStateForUpdate(java.net.URI atomURI,
java.net.URI socketURI,
ConnectionState connectionState) |
java.util.List<Connection> |
ConnectionRepository.findByAtomURIAndState(java.net.URI atomURI,
ConnectionState connectionState) |
java.util.List<Connection> |
ConnectionRepository.findByAtomURIAndStateAndTypeURI(java.net.URI atomURI,
ConnectionState connectionState,
java.net.URI socketType) |
java.util.List<Connection> |
ConnectionRepository.findBySocketURIAndState(java.net.URI socketURI,
ConnectionState connectionState) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Set<java.net.URI> |
WonRdfUtils.AtomUtils.getTargetConnectionURIsForTargetAtoms(org.apache.jena.query.Dataset dataset,
java.util.Collection<java.net.URI> targetAtoms,
java.util.Optional<ConnectionState> state)
Assumes that the dataset contains an atom's connection information, looks for
the specified remote atoms and returns the remote connection uris.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.jena.rdf.model.Resource |
WON.toResource(ConnectionState type)
Converts the ConnectionState Enum to a Resource.
|
Copyright © 2019. All Rights Reserved.