update sample code
This commit is contained in:
parent
d235d02b70
commit
f79a2b69e6
@ -5,12 +5,12 @@ import com.sunyard.sge.database.SydApi4Database;
|
||||
|
||||
public class Sample
|
||||
{
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
SydApi4Database.SYD_SetLogConfig("./sydapi/log", 1);
|
||||
SydApi api = new SydApi4Database();
|
||||
api.SYD_Connect_Ex(
|
||||
try {
|
||||
api = api.SYD_Connect_Ex(
|
||||
new String[]{ "192.168.0.100" },
|
||||
new int[]{ 8889 },
|
||||
3,
|
||||
@ -19,8 +19,10 @@ public class Sample
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
} finally {
|
||||
api.SYD_Disconnect_Ex();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user