LibreOffice
LibreOffice 6.4 SDK API Reference
com
sun
star
connection
XConnection2.idl
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
#ifndef _COM_SUN_STAR_CONNECTION_XCONNECTION2_IDL_
20
#define _COM_SUN_STAR_CONNECTION_XCONNECTION2_IDL_
21
22
#include <
com/sun/star/io/IOException.idl
>
23
#include <
com/sun/star/io/BufferSizeExceededException.idl
>
24
#include <
com/sun/star/io/NotConnectedException.idl
>
25
26
#include <
com/sun/star/connection/XConnection.idl
>
27
28
29
module
com
{ module sun { module star { module connection {
30
31
32
33
38
published
interface
XConnection2
:
com::sun::star::connection::XConnection
39
{
40
44
long
available
() raises(
com
::sun::star::io::IOException);
45
50
long
readSomeBytes([out] sequence<
byte
> aData, [in]
long
nMaxBytesToRead)
51
raises(
com
::sun::star::io::IOException);
52
};
53
54
};};};};
55
56
#endif
57
58
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
XConnection.idl
BufferSizeExceededException.idl
com::sun::star::connection::XConnection
A bidirectional bytestream.
Definition:
XConnection.idl:34
com::sun::star::connection::XConnection2
XConnection2 extends the XConnection interface with available and readSomeBytes
Definition:
XConnection2.idl:39
NotConnectedException.idl
com::sun::star::connection::XConnection2::available
long available()
Gives the number of bytes available via read without blocking.
IOException.idl
com
Definition:
Ambiguous.idl:22
Generated by
1.8.20