All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.syncbuilder.internal.core.calls
java.lang.Object
   |
   +----com.syncbuilder.internal.core.calls

  Summary

public class  calls
     extends java.lang.Object
{
          // Constructors 1
     public calls();

          // Methods 48
     public static native byte[] dlp_CallApplication(int, Char4, int, int, byte[], int[]) throws DlpException;
     public static native int dlp_CleanUpDatabase(int, int) throws DlpException;
     public static native int dlp_DeleteCategory(int, int, int) throws DlpException;
     public static native int dlp_DeleteDB(int, int, String) throws DlpException;
     public static native int dlp_DeleteRecord(int, int, boolean, RecordID) throws DlpException;
     public static native int dlp_DeleteResource(int, int, boolean, Char4, int) throws DlpException;
     public static native Date dlp_GetSysDateTime(int) throws DlpException;
     public static native int dlp_MoveCategory(int, int, int, int) throws DlpException;
     public static native AppBlock dlp_ReadAppBlock(int, int, DatabaseImpl) throws DlpException;
     public static native Pref dlp_ReadAppPreference(int, Char4, int, boolean, DatabaseImpl) throws DlpException;
     public static native int dlp_ReadFeature(int, Char4, int) throws DlpException;
     public static native NetSyncInfo dlp_ReadNetSyncInfo(int) throws DlpException;
     public static native Record dlp_ReadNextModifiedRec(int, int, DatabaseImpl) throws DlpException;
     public static native Record dlp_ReadNextModifiedRecInCategory(int, int, int, DatabaseImpl) throws DlpException;
     public static native Record dlp_ReadNextRecInCategory(int, int, int, DatabaseImpl) throws DlpException;
     public static native Record dlp_ReadRecordByID(int, int, RecordID, DatabaseImpl) throws DlpException;
     public static native RecordID[] dlp_ReadRecordIDList(int, int, boolean, int, int) throws DlpException;
     public static native Resource dlp_ReadResourceByIndex(int, int, int, DatabaseImpl) throws DlpException;
     public static native Resource dlp_ReadResourceByType(int, int, Char4, int, DatabaseImpl) throws DlpException;
     public static native SortBlock dlp_ReadSortBlock(int, int, DatabaseImpl) throws DlpException;
     public static native CardInfo dlp_ReadStorageInfo(int, int) throws DlpException;
     public static native SysInfo dlp_ReadSysInfo(int) throws DlpException;
     public static native int dlp_ResetDBIndex(int, int) throws DlpException;
     public static native int dlp_ResetSyncFlags(int, int) throws DlpException;
     public static native int dlp_ResetSystem(int) throws DlpException;
     public static native int dlp_SetSysDateTime(int, Date) throws DlpException;
     public static native int dlp_WriteAppBlock(int, int, AppBlock) throws DlpException;
     public static native int dlp_WriteAppPreference(int, Pref) throws DlpException;
     public static native int dlp_WriteNetSyncInfo(int, NetSyncInfo) throws DlpException;
     public static native int dlp_WriteResource(int, int, Resource) throws DlpException;
     public static native int dlp_WriteSortBlock(int, int, SortBlock) throws DlpException;
     public static native int dlp_WriteUserInfo(int, UserInfo) throws DlpException;
     public static int getArrayLength(byte[]);
     public static byte[] getByteArray(int);
     public static int[] makeIntArray(int);
     public static RecordID[] makeRecordIDArray(int);
     public static Object[] makeStringArray(int);
     public static native int pi_accept(int) throws IOException;
     public static native int pi_bind(int, String) throws IOException;
     public static native int pi_close(int) throws IOException;
     public static native int pi_listen(int, int) throws IOException;
     public static native int pi_noendsync(int);
     public static native int pi_read(int, byte[], int) throws IOException;
     public static native int pi_socket(int, int, int) throws IOException;
     public static native int pi_tickle(int) throws IOException;
     public static native int pi_version(int) throws IOException;
     public static native int pi_watchdog(int, int) throws IOException;
     public static native int pi_write(int, byte[], int) throws IOException;

}

This class acts as the connecting element between the Java-binding and the native code. One fine day it will hopefully be obsolete :-)




  Constructors

· calls

Summary  |  Top

   public calls() 

Default constructor



  Methods

· pi_close

Summary  |  Top
   public static native int pi_close(int socket)  throws IOException


· pi_socket

Summary  |  Top
   public static native int pi_socket(int domain, 
                                      int type, 
                                      int protocol)  throws IOException


· pi_bind

Summary  |  Top
   public static native int pi_bind(int socket, 
                                    String device)  throws IOException


· pi_listen

Summary  |  Top
   public static native int pi_listen(int socket, 
                                      int backlog)  throws IOException


· pi_accept

Summary  |  Top
   public static native int pi_accept(int socket)  throws IOException


· pi_version

Summary  |  Top
   public static native int pi_version(int socket)  throws IOException


· pi_tickle

Summary  |  Top
   public static native int pi_tickle(int socket)  throws IOException


· pi_watchdog

Summary  |  Top
   public static native int pi_watchdog(int socket, 
                                        int interval)  throws IOException


· pi_read

Summary  |  Top
   public static native int pi_read(int socket, 
                                    byte[] data, 
                                    int len)  throws IOException


· pi_write

Summary  |  Top
   public static native int pi_write(int socket, 
                                     byte[] data, 
                                     int len)  throws IOException


· pi_noendsync

Summary  |  Top
   public static native int pi_noendsync(int socket) 


· dlp_DeleteDB

Summary  |  Top
   public static native int dlp_DeleteDB(int socket, 
                                         int card, 
                                         String name)  throws DlpException


· dlp_DeleteCategory

Summary  |  Top
   public static native int dlp_DeleteCategory(int socket, 
                                               int handle, 
                                               int category)  throws DlpException


· dlp_GetSysDateTime

Summary  |  Top
   public static native Date dlp_GetSysDateTime(int socket)  throws DlpException


· dlp_SetSysDateTime

Summary  |  Top
   public static native int dlp_SetSysDateTime(int socket, 
                                               Date date)  throws DlpException


· dlp_ReadAppBlock

Summary  |  Top
   public static native AppBlock dlp_ReadAppBlock(int socket, 
                                                  int handle, 
                                                  DatabaseImpl dbClass)  throws DlpException


· dlp_ReadSortBlock

Summary  |  Top
   public static native SortBlock dlp_ReadSortBlock(int socket, 
                                                    int handle, 
                                                    DatabaseImpl dbClass)  throws DlpException


· dlp_ReadAppPreference

Summary  |  Top
   public static native Pref dlp_ReadAppPreference(int socket, 
                                                   Char4 creator, 
                                                   int id, 
                                                   boolean backup, 
                                                   DatabaseImpl dbClass)  throws DlpException


· dlp_ReadNextModifiedRec

Summary  |  Top
   public static native Record dlp_ReadNextModifiedRec(int socket, 
                                                       int handle, 
                                                       DatabaseImpl dbClass)  throws DlpException


· dlp_ReadNextModifiedRecInCategory

Summary  |  Top
   public static native Record dlp_ReadNextModifiedRecInCategory(int socket, 
                                                                 int handle, 
                                                                 int category, 
                                                                 DatabaseImpl dbClass)  throws DlpException


· dlp_ReadNextRecInCategory

Summary  |  Top
   public static native Record dlp_ReadNextRecInCategory(int socket, 
                                                         int handle, 
                                                         int category, 
                                                         DatabaseImpl dbClass)  throws DlpException


· dlp_ReadRecordByID

Summary  |  Top
   public static native Record dlp_ReadRecordByID(int socket, 
                                                  int handle, 
                                                  RecordID id, 
                                                  DatabaseImpl dbClass)  throws DlpException


· dlp_ReadResourceByType

Summary  |  Top
   public static native Resource dlp_ReadResourceByType(int socket, 
                                                        int handle, 
                                                        Char4 type, 
                                                        int id, 
                                                        DatabaseImpl dbClass)  throws DlpException


· dlp_ReadResourceByIndex

Summary  |  Top
   public static native Resource dlp_ReadResourceByIndex(int socket, 
                                                         int handle, 
                                                         int index, 
                                                         DatabaseImpl dbClass)  throws DlpException


· dlp_WriteAppPreference

Summary  |  Top
   public static native int dlp_WriteAppPreference(int socket, 
                                                   Pref pref)  throws DlpException


· dlp_WriteResource

Summary  |  Top
   public static native int dlp_WriteResource(int socket, 
                                              int handle, 
                                              Resource resource)  throws DlpException


· dlp_WriteAppBlock

Summary  |  Top
   public static native int dlp_WriteAppBlock(int socket, 
                                              int handle, 
                                              AppBlock appblock)  throws DlpException


· dlp_WriteSortBlock

Summary  |  Top
   public static native int dlp_WriteSortBlock(int socket, 
                                               int handle, 
                                               SortBlock sortblock)  throws DlpException


· dlp_ReadStorageInfo

Summary  |  Top
   public static native CardInfo dlp_ReadStorageInfo(int socket, 
                                                     int card)  throws DlpException


· dlp_ResetSystem

Summary  |  Top
   public static native int dlp_ResetSystem(int socket)  throws DlpException


· dlp_WriteUserInfo

Summary  |  Top
   public static native int dlp_WriteUserInfo(int socket, 
                                              UserInfo info)  throws DlpException


· dlp_ReadSysInfo

Summary  |  Top
   public static native SysInfo dlp_ReadSysInfo(int socket)  throws DlpException


· dlp_ReadNetSyncInfo

Summary  |  Top
   public static native NetSyncInfo dlp_ReadNetSyncInfo(int socket)  throws DlpException


· dlp_WriteNetSyncInfo

Summary  |  Top
   public static native int dlp_WriteNetSyncInfo(int socket, 
                                                 NetSyncInfo info)  throws DlpException


· dlp_CleanUpDatabase

Summary  |  Top
   public static native int dlp_CleanUpDatabase(int socket, 
                                                int handle)  throws DlpException


· dlp_ResetSyncFlags

Summary  |  Top
   public static native int dlp_ResetSyncFlags(int socket, 
                                               int handle)  throws DlpException


· dlp_MoveCategory

Summary  |  Top
   public static native int dlp_MoveCategory(int socket, 
                                             int handle, 
                                             int from, 
                                             int to)  throws DlpException


· dlp_DeleteRecord

Summary  |  Top
   public static native int dlp_DeleteRecord(int socket, 
                                             int handle, 
                                             boolean all, 
                                             RecordID id)  throws DlpException


· dlp_DeleteResource

Summary  |  Top
   public static native int dlp_DeleteResource(int socket, 
                                               int handle, 
                                               boolean all, 
                                               Char4 type, 
                                               int id)  throws DlpException


· dlp_ReadFeature

Summary  |  Top
   public static native int dlp_ReadFeature(int socket, 
                                            Char4 creator, 
                                            int id)  throws DlpException


· dlp_ReadRecordIDList

Summary  |  Top
   public static native RecordID[] dlp_ReadRecordIDList(int socket, 
                                                        int handle, 
                                                        boolean sort, 
                                                        int start, 
                                                        int max)  throws DlpException


· dlp_CallApplication

Summary  |  Top
   public static native byte[] dlp_CallApplication(int socket, 
                                                   Char4 creator, 
                                                   int type, 
                                                   int action, 
                                                   byte[] argument, 
                                                   int[] retcode)  throws DlpException


· dlp_ResetDBIndex

Summary  |  Top
   public static native int dlp_ResetDBIndex(int socket, 
                                             int handle)  throws DlpException


· getByteArray

Summary  |  Top
   public static byte[] getByteArray(int length) 


· getArrayLength

Summary  |  Top
   public static int getArrayLength(byte[] array) 


· makeRecordIDArray

Summary  |  Top
   public static RecordID[] makeRecordIDArray(int length) 


· makeStringArray

Summary  |  Top
   public static Object[] makeStringArray(int length) 


· makeIntArray

Summary  |  Top
   public static int[] makeIntArray(int length) 


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7