Package org.freedesktop.dbus
Class FileDescriptor
- java.lang.Object
-
- org.freedesktop.dbus.FileDescriptor
-
public class FileDescriptor extends java.lang.ObjectRepresents a FileDescriptor to be passed over the bus. Can be created from either an integer(gotten through some JNI/JNA/JNR call) or from a java.io.FileDescriptor.
-
-
Constructor Summary
Constructors Constructor Description FileDescriptor(int _fd)FileDescriptor(java.io.FileDescriptor _data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.io.FileDescriptorcreateFileDescriptorByReflection(long _demarshallint)private intgetFileDescriptor(java.io.FileDescriptor _data)intgetIntFileDescriptor()java.io.FileDescriptortoJavaFileDescriptor()
-
-
-
Constructor Detail
-
FileDescriptor
public FileDescriptor(int _fd)
-
FileDescriptor
public FileDescriptor(java.io.FileDescriptor _data) throws MarshallingException- Throws:
MarshallingException
-
-
Method Detail
-
toJavaFileDescriptor
public java.io.FileDescriptor toJavaFileDescriptor() throws MarshallingException- Throws:
MarshallingException
-
getIntFileDescriptor
public int getIntFileDescriptor()
-
getFileDescriptor
private int getFileDescriptor(java.io.FileDescriptor _data) throws MarshallingException- Throws:
MarshallingException
-
createFileDescriptorByReflection
private java.io.FileDescriptor createFileDescriptorByReflection(long _demarshallint) throws MarshallingException- Throws:
MarshallingException
-
-