public class LicasUrlConnection extends LicasWebConnection
connInfo
Constructor and Description |
---|
LicasUrlConnection(ConnectionInfo theConnInfo)
Create a new instance of LicasUrlConnection.
|
Modifier and Type | Method and Description |
---|---|
void |
connect()
Make the connection.
|
void |
disconnect()
Disconnect the connection.
|
java.lang.Object |
getConn()
Get the created connection.
|
boolean |
isBound()
Return true if bound to an address.
|
boolean |
isConnected()
Return true if connected to the source.
|
isHttpConnection, isUrlConnection
public LicasUrlConnection(ConnectionInfo theConnInfo) throws java.lang.Exception
theConnInfo
- the full connection info.java.lang.Exception
- any error.public boolean isConnected()
isConnected
in class LicasWebConnection
public boolean isBound()
isBound
in class LicasWebConnection
public void connect() throws java.lang.Exception
connect
in class LicasWebConnection
java.lang.Exception
- any error.public void disconnect()
disconnect
in class LicasWebConnection
public java.lang.Object getConn()
getConn
in class LicasWebConnection