|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sap.mw.jco.JCO.Connection
JCO Client object base class. This class will never be instantiated directly but serves as a base class for the JCO.Client and JCO.Server classes.
JCO.Client
,
JCO.Server
Method Summary | |
abstract void |
abort(java.lang.String message)
Aborts the connection to the remote system, i.e. tries to send a final message to the host before it disconnects. |
java.lang.Object |
clone()
Returns a clone of this connection. |
abstract void |
disconnect()
Closes the connection to the remote system. |
abstract JCO.Attributes |
getAttributes()
Returns the attributes object for this connection. |
java.util.Properties |
getProperties()
Returns the current connection parameters as a property list |
java.lang.String |
getProperty(java.lang.String key)
Returns the property for the given key or null if not found |
java.lang.String[][] |
getPropertyInfo()
Returns the property info for the connection. |
JCO.Throughput |
getThroughput()
Returns the throughput object in which holds performance data. |
boolean |
getTrace()
Returns whether trace is enabled or not. |
abstract boolean |
isAlive()
Checks whether this connection is alive |
boolean |
isValid()
Checks whether this connection is valid |
void |
setThroughput(JCO.Throughput throughput)
Sets the throughput object in which performance data for the next will be stored. |
void |
setTrace(boolean trace)
Enables/disables trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.Object clone()
public final java.util.Properties getProperties()
public java.lang.String[][] getPropertyInfo()
public final java.lang.String getProperty(java.lang.String key)
public boolean isValid()
public boolean getTrace()
public void setTrace(boolean trace)
trace
- if true enables the trace and disables it otherwise.public final JCO.Throughput getThroughput()
JCO.Throughput
public final void setThroughput(JCO.Throughput throughput)
throughput
- the thoughput object in which to store performance data or
null if not interested in such information.JCO.Throughput
public abstract JCO.Attributes getAttributes()
JCO.Exception
- thrown if the attributes could not be retrieved.JCO.Attributes
public abstract void disconnect()
public abstract void abort(java.lang.String message)
message
- the final message that will be sent to the remote system.public abstract boolean isAlive()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |