|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
@SASScope(value="ALL") @BinaryCompatibilityOnly public interface ConnectionInterface
| Field Summary |
|---|
| Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
|---|
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
| Method Summary | |
|---|---|
abstract void |
addProvider(ServerInterface provider)
Add a provider server which can connect to the listening source server over this connection. |
abstract java.lang.String |
getApplicationProtocol()
Get the application protocol String. |
abstract java.lang.String |
getAuthenticationType()
Get the authentication type string for the connection. |
abstract java.lang.String |
getCommunicationProtocol()
Get the communication protocol. |
abstract java.lang.String |
getDomain()
Get the authentication domain for this connection. |
abstract java.util.List<MetadataInterface> |
getProperties()
Get the properties for connection. |
abstract java.util.List |
getProviders()
Get the list of servers that can connect to the listener over this connection. |
abstract ServerInterface |
getSource()
Get the server to which a client connects using this connection information. |
abstract void |
removeProvider(ServerInterface provider)
Remove a provider server from the providers list. |
abstract void |
setApplicationProtocol(java.lang.String appProtocol)
Set the application protocol string. |
abstract void |
setAuthenticationType(java.lang.String authType)
Set the authentication type string. |
abstract void |
setCommunicationProtocol(java.lang.String commProtocol)
Set the communication protocol. |
abstract void |
setDomain(java.lang.String domain)
Set the authentication domain name for this connection. |
abstract void |
setProperty(ConnectionInterface objCon,
java.lang.String value,
java.lang.String PropName)
Set the value to the property of connection. |
abstract void |
setProviders(java.util.List providers)
Set the list of provider servers that can connect to the source server over this connection. |
abstract void |
setSource(ServerInterface server)
Set the server which is listening on this connection. |
| Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
|---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
| Method Detail |
|---|
java.lang.String getAuthenticationType()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setAuthenticationType(java.lang.String authType)
throws ServiceException,
java.rmi.RemoteException
authType - The authentication type string.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
java.lang.String getCommunicationProtocol()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setCommunicationProtocol(java.lang.String commProtocol)
throws ServiceException,
java.rmi.RemoteException
commProtocol - The communication protocol string.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
java.util.List<MetadataInterface> getProperties()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
java.lang.String getApplicationProtocol()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setApplicationProtocol(java.lang.String appProtocol)
throws ServiceException,
java.rmi.RemoteException
appProtocol - The application protocol string.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
java.lang.String getDomain()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setDomain(java.lang.String domain)
throws ServiceException,
java.rmi.RemoteException
domain - The new domain name.
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
ServerInterface getSource()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setSource(ServerInterface server)
throws ServiceException,
java.rmi.RemoteException
server - The server a client connects to on this connection.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
java.util.List getProviders()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void addProvider(ServerInterface provider)
throws ServiceException,
java.rmi.RemoteException
provider - A Server which can connect to the source over this connection.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void removeProvider(ServerInterface provider)
throws ServiceException,
java.rmi.RemoteException
provider - A server to remove from the providers list.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setProviders(java.util.List providers)
throws ServiceException,
java.rmi.RemoteException
providers - A List of ServerInterface objects that can connect to the
source server over this connection.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setProperty(ConnectionInterface objCon,
java.lang.String value,
java.lang.String PropName)
throws java.rmi.RemoteException,
com.sas.metadata.remote.MdException
objCon - Connection object, It can be SASClientConnection or TCPIPConnection.value - to be assigned to property.PropName - Name of property for which value will be changed.
java.rmi.RemoteException - In the event of remote object failure.
com.sas.metadata.remote.MdException - If a metadata error occurs.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||