
com.mindoo.domino.jna.internal.structs.NotesReplicationHistorySummaryStruct Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of domino-jna Show documentation
Show all versions of domino-jna Show documentation
Java project to access the HCL Domino C API using Java Native Access (JNA)
package com.mindoo.domino.jna.internal.structs;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Arrays;
import java.util.List;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
/**
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java , Rococoa, or JNA.
*/
public class NotesReplicationHistorySummaryStruct extends BaseStructure {
/**
* Time returned from last replication
* C type : TIMEDATE
*/
public NotesTimeDateStruct ReplicationTime;
/** Access level at time of replication */
public short AccessLevel;
/** Access flags at time of replication */
public short AccessFlags;
/** NEVER, SEND, RECEIVE */
public short Direction;
/** Server name offset in packed data */
public int ServerNameOffset;
/** Server name length in packed data */
public short ServerNameLength;
/** File name length in packed data */
public short FileNameLength;
/** contains MoreInfo from cache - includes complete replication flag */
public short MoreInfo;
/** Room for growth */
public short wSpare;
/** Room for growth */
public int dwSpare;
public NotesReplicationHistorySummaryStruct() {
super(Structure.ALIGN_DEFAULT);
}
public static NotesReplicationHistorySummaryStruct newInstance() {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesReplicationHistorySummaryStruct run() {
return new NotesReplicationHistorySummaryStruct();
}
});
}
protected List getFieldOrder() {
return Arrays.asList("ReplicationTime", "AccessLevel", "AccessFlags", "Direction", "ServerNameOffset", "ServerNameLength", "FileNameLength", "MoreInfo", "wSpare", "dwSpare");
}
public NotesReplicationHistorySummaryStruct(Pointer peer) {
super(peer, Structure.ALIGN_DEFAULT);
}
public static NotesReplicationHistorySummaryStruct newInstance(Pointer peer) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesReplicationHistorySummaryStruct run() {
return new NotesReplicationHistorySummaryStruct(peer);
}
});
}
public static class ByReference extends NotesReplicationHistorySummaryStruct implements Structure.ByReference {
};
public static class ByValue extends NotesReplicationHistorySummaryStruct implements Structure.ByValue {
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy