Package org.freedesktop.dbus
Class FileDescriptor
java.lang.Object
org.freedesktop.dbus.FileDescriptor
Represents 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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate FileDescriptorcreateFileDescriptorByReflection(long _demarshallint) private intgetFileDescriptor(FileDescriptor _data) int
-
Field Details
-
logger
private final org.slf4j.Logger logger -
fd
private final int fd
-
-
Constructor Details
-
FileDescriptor
public FileDescriptor(int _fd) -
FileDescriptor
- Throws:
MarshallingException
-
-
Method Details
-
toJavaFileDescriptor
- Throws:
MarshallingException
-
getIntFileDescriptor
public int getIntFileDescriptor() -
getFileDescriptor
- Throws:
MarshallingException
-
createFileDescriptorByReflection
private FileDescriptor createFileDescriptorByReflection(long _demarshallint) throws MarshallingException - Throws:
MarshallingException
-