diff options
author | Michael Hönnig <mi@openoffice.org> | 2001-11-16 13:25:39 +0000 |
---|---|---|
committer | Michael Hönnig <mi@openoffice.org> | 2001-11-16 13:25:39 +0000 |
commit | 9f85911926eeecbbbaf1bbe89a674897550d89b4 (patch) | |
tree | 1d938f824ecceb6a3c64a2caae821e053aed9d19 /udkapi/com/sun/star/connection | |
parent | 2c9ce5403c8a9e6cb3e869dfdd023cffb88e4e7a (diff) |
proofing by Richard Holt
Diffstat (limited to 'udkapi/com/sun/star/connection')
-rw-r--r-- | udkapi/com/sun/star/connection/Acceptor.idl | 8 | ||||
-rw-r--r-- | udkapi/com/sun/star/connection/ConnectionSetupException.idl | 6 | ||||
-rw-r--r-- | udkapi/com/sun/star/connection/Connector.idl | 8 | ||||
-rw-r--r-- | udkapi/com/sun/star/connection/XAcceptor.idl | 26 | ||||
-rw-r--r-- | udkapi/com/sun/star/connection/XConnection.idl | 17 | ||||
-rw-r--r-- | udkapi/com/sun/star/connection/XConnector.idl | 25 |
6 files changed, 49 insertions, 41 deletions
diff --git a/udkapi/com/sun/star/connection/Acceptor.idl b/udkapi/com/sun/star/connection/Acceptor.idl index d9c372eabff4..6b675d034ffb 100644 --- a/udkapi/com/sun/star/connection/Acceptor.idl +++ b/udkapi/com/sun/star/connection/Acceptor.idl @@ -2,9 +2,9 @@ * * $RCSfile: Acceptor.idl,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: jbu $ $Date: 2001-10-12 16:04:15 $ + * last change: $Author: mi $ $Date: 2001-11-16 14:25:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -73,9 +73,9 @@ /** allows to accept connection attempts from another process. <p> - Acceptor is a delagating service. You can add further acceptors by giving + Acceptor is a delegating service. You can add further acceptors by giving them a service name com.sun.star.connection.Acceptor.xxx, where xxx is the - connection type used int the connection string during accept()/connect() call. + connection type used in the connection string during accept()/connect() call. */ service Acceptor diff --git a/udkapi/com/sun/star/connection/ConnectionSetupException.idl b/udkapi/com/sun/star/connection/ConnectionSetupException.idl index d9f0bee7553f..8c442799b28d 100644 --- a/udkapi/com/sun/star/connection/ConnectionSetupException.idl +++ b/udkapi/com/sun/star/connection/ConnectionSetupException.idl @@ -2,9 +2,9 @@ * * $RCSfile: ConnectionSetupException.idl,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: jbu $ $Date: 2001-10-12 16:04:15 $ + * last change: $Author: mi $ $Date: 2001-11-16 14:25:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -64,7 +64,7 @@ module com { module sun { module star { module connection { -/** Is e.g. thrown, when it is not possible to accept on a local resource. +/** Is thrown, when it is not possible to accept on a local resource. */ exception ConnectionSetupException: com::sun::star::uno::Exception { diff --git a/udkapi/com/sun/star/connection/Connector.idl b/udkapi/com/sun/star/connection/Connector.idl index f0656b4262ed..10f0a4cb5a31 100644 --- a/udkapi/com/sun/star/connection/Connector.idl +++ b/udkapi/com/sun/star/connection/Connector.idl @@ -2,9 +2,9 @@ * * $RCSfile: Connector.idl,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: jbu $ $Date: 2001-10-12 16:04:15 $ + * last change: $Author: mi $ $Date: 2001-11-16 14:25:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -73,9 +73,9 @@ /** allows to establish a connection to another process. <p> - Connector is a delagating service. You can add further connectors by giving + Connector is a delegating service. You can add further connectors by giving them a service name com.sun.star.connection.Connector.xxx, where xxx is the - connection type used int the connection string during accept()/connect() call. + connection type used in the connection string during accept()/connect() call. */ service Connector { diff --git a/udkapi/com/sun/star/connection/XAcceptor.idl b/udkapi/com/sun/star/connection/XAcceptor.idl index 81a6c6be856e..5e5eae2c1d75 100644 --- a/udkapi/com/sun/star/connection/XAcceptor.idl +++ b/udkapi/com/sun/star/connection/XAcceptor.idl @@ -2,9 +2,9 @@ * * $RCSfile: XAcceptor.idl,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: jbu $ $Date: 2001-10-12 16:04:15 $ + * last change: $Author: mi $ $Date: 2001-11-16 14:25:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -69,7 +69,7 @@ module com { module sun { module star { module connection { -/** allows to passivly accept connection attempts from other processes. +/** allows to passively accept connection attempts from other processes. <p> This is the counterpart to the XConnector interface. @@ -83,16 +83,20 @@ interface XAcceptor: com::sun::star::uno::XInterface further connections, but the parameter string MUST be left unchanged. - @param sConnectionDescription contains the kind of the connection plus a - comma seperated list of attributes. - e.g. <em>socket,host=locahost,port=2345</em> for a tcpip connection. + @param sConnectionDescription + contains the kind of the connection plus a + comma seperated list of attributes, + e.g., <em>socket,host=locahost,port=2345</em> for a tcpip connection. - @return null reference, stopAccepting was called. Otherwise a valid XConnection - reference. + @return null reference, + stopAccepting was called. + Otherwise a valid XConnection reference. - @throws AlreadyAcceptingException Only one acceptor-thread per instance allowed. - @throws ConnectionSetupException Problems during setting up the acceptor. - (e.g. Security-reasons, socket already busy, etc. ) + @throws AlreadyAcceptingException + Only one acceptor-thread per instance allowed. + @throws ConnectionSetupException + Problems during setting up the acceptor. + (e.g., Security-reasons, socket already busy, etc.) @throws com::sun::star::lang::IllegalArgumentException sConnectionDescription could not be interpreted diff --git a/udkapi/com/sun/star/connection/XConnection.idl b/udkapi/com/sun/star/connection/XConnection.idl index 450585bfb801..cec065f48ac6 100644 --- a/udkapi/com/sun/star/connection/XConnection.idl +++ b/udkapi/com/sun/star/connection/XConnection.idl @@ -2,9 +2,9 @@ * * $RCSfile: XConnection.idl,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: jbu $ $Date: 2001-10-12 16:04:15 $ + * last change: $Author: mi $ $Date: 2001-11-16 14:25:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -76,19 +76,20 @@ interface XConnection: com::sun::star::uno::XInterface { /** reads a requested number of bytes from the connection. - <p> This method is blocking, meaning that it always returns a bytesequence - with the requested number of bytes unless it has reached end of file (which + <p> This method is blocking, meaning that it always returns a bytesequence + with the requested number of bytes, unless it has reached end of file (which often means, that close() has been called). <p> please see also the readSomeBytes() method of XConnection2. - @return The read number of bytes. The return value and the length of the + @return The read number of bytes. + The return value and the length of the returned sequence must be identical. @param nBytesToRead The number of bytes to be read from the stream. @throws com::sun::star::io::IOException - in case an error occured during reading from the stream. + in case an error occurred during reading from the stream. */ long read( [out] sequence < byte > aReadBytes , [in] long nBytesToRead ) raises( com::sun::star::io::IOException ); @@ -99,7 +100,7 @@ interface XConnection: com::sun::star::uno::XInterface <p>The method blocks until the whole sequence is written. @throws com::sun::star::io::IOException - in case an error occured during writing to the stream. + in case an error occurred during writing to the stream. */ void write( [in] sequence < byte > aData ) raises( com::sun::star::io::IOException ); @@ -110,7 +111,7 @@ interface XConnection: com::sun::star::uno::XInterface void flush( ) raises( com::sun::star::io::IOException ); - /** Immeadiatly terminates any ongoing read or write calls. + /** Immediately terminates any ongoing read or write calls. All subsequent read or write calls() */ void close( ) diff --git a/udkapi/com/sun/star/connection/XConnector.idl b/udkapi/com/sun/star/connection/XConnector.idl index 61c53121c276..5502d84ff8a1 100644 --- a/udkapi/com/sun/star/connection/XConnector.idl +++ b/udkapi/com/sun/star/connection/XConnector.idl @@ -2,9 +2,9 @@ * * $RCSfile: XConnector.idl,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: jbu $ $Date: 2001-10-12 16:04:15 $ + * last change: $Author: mi $ $Date: 2001-11-16 14:25:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -70,7 +70,7 @@ module com { module sun { module star { module connection { /** - allows to activly establish an interprocess connection. + allows to actively establish an interprocess connection. */ interface XConnector: com::sun::star::uno::XInterface { @@ -80,16 +80,19 @@ interface XConnector: com::sun::star::uno::XInterface <p> Tries to connect to an <type>XAcceptor</type>. - @param sConnectionDescription contains the kind of the connection plus a - comma seperated list of attributes. - e.g. <em>socket,host=locahost,port=2345</em> for a tcpip connection. + @param sConnectionDescription + contains the kind of the connection plus a + comma seperated list of attributes, + e.g., <em>socket,host=locahost,port=2345</em> for a tcpip connection. - @throws ConnectionSetupException Problems during setting up the connector - on client side(e.g. Security-reasons, socket already busy .. ), or the - string could not be interpreted correctly. + @throws ConnectionSetupException + Problems during setting up the connector + on client side, (e.g., Security-reasons, socket already busy .. ), + or the string could not be interpreted correctly. - @throws NoConnectException Couldn't reach a server (e.g. network failure), no server - is listening + @throws NoConnectException + Couldn't reach a server (e.g. network failure), + no server is listening */ XConnection connect( [in] string sConnectionDescription ) raises( NoConnectException,ConnectionSetupException ); |