|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.net.connector.URIRequestInfo
org.exolab.jms.net.socket.SocketRequestInfo
org.exolab.jms.net.tcp.TCPSRequestInfo
public class TCPSRequestInfo
Implementation of the ConnectionRequestInfo
interface that enables the TCPS connector to pass data across the
connection request flow.
Constructor Summary | |
---|---|
TCPSRequestInfo(URI uri)
Construct a new TCPSRequestInfo . |
|
TCPSRequestInfo(URI uri,
Properties properties)
Construct a new TCPSRequestInfo . |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
Checks whether this instance is equal to another. |
void |
export(Properties properties)
Helper to export this to a Properties instance. |
boolean |
getNeedClientAuth()
Determines if clients must authenticate themselves on connection. |
SSLProperties |
getSSLProperties()
Returns the properties used to configure the secure socket layer (SSL). |
void |
setNeedClientAuth(boolean required)
Sets if clients must authenticate themselves on connection. |
void |
setSSLProperties(SSLProperties properties)
Sets the properties used to configure the secure socket layer (SSL). |
Methods inherited from class org.exolab.jms.net.socket.SocketRequestInfo |
---|
equals, getAlternativeHost, getAlternativeURI, getBindAll, getConnectionRequestQueueSize, setAlternativeHost, setBindAll, setConnectionRequestQueueSize |
Methods inherited from class org.exolab.jms.net.connector.URIRequestInfo |
---|
getHost, getHostAddress, getPort, getPrincipal, getURI, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TCPSRequestInfo(URI uri) throws ResourceException
TCPSRequestInfo
.
uri
- the URI
ResourceException
- if uri
has an invalid query stringpublic TCPSRequestInfo(URI uri, Properties properties) throws ResourceException
TCPSRequestInfo
.
uri
- the URIproperties
- the properties to populate this from
ResourceException
- if any of the properties are invalidMethod Detail |
---|
public SSLProperties getSSLProperties()
null
if unsetpublic void setSSLProperties(SSLProperties properties)
properties
- the SSL configuration propertiespublic void setNeedClientAuth(boolean required)
required
- if true
, the clients must authenticate
themselves.public boolean getNeedClientAuth()
true
if clients must authenticate themselves.public void export(Properties properties)
Properties
instance.
export
in class SocketRequestInfo
properties
- the properties to export to.public boolean equals(java.lang.Object other)
equals
in interface ConnectionRequestInfo
equals
in class SocketRequestInfo
other
- the object to compare
true
if the two instances are equal; otherwise
false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |