public interface ConnectionStateValidator
Title: Service Event Fabric Runtime
Description: An interface for classes that perform connection state checking in a given
Transport Factory
.
ping()
method is called by the TransportConnectionObserver
to check the
state of the connection.
Copyright: Copyright (c) 2009
Company: StreamScape Technologies
Modifier and Type | Method and Description |
---|---|
void |
init(TransportFactory factory,
java.lang.String connectionName)
Initalizes the validator using a specific transport factory, allowing
the validator to work on the specific connection that is also cached
by the factory at runtime.
|
void |
ping()
Checks the state of a connection, returning a connection state indicator.
|
void init(TransportFactory factory, java.lang.String connectionName) throws TransportException
factory
- TransportFactoryconnectionName
- StringTransportException
void ping() throws TransportException
TransportException
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.