| Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]()
|
| Part 1 The Basic for Developing Application | > Chapter 7 Shunsaku File | > 7.2 Methods Used to Access Shunsaku File | > 7.2.1 Per-connection Specification |
In this method, the Shunsaku File name is specified when creating the ShunConnection object.
This section explains how to specify the Shunsaku File name in the constructor directly.
Syntax
ShunConnection object name = new ShunConnection(host name, port number, Shunsaku File name); |
Arguments
host nameSpecifies the target host name or IP address.
port numberSpecifies the target port number.
Shunsaku File nameSpecifies the target Shunsaku File name.
Sample CodeWhen the host name is "DirSvr1", the port number is "33101" and the Shunsaku File name is "fileA"
ShunConnection con = new ShunConnection("DirSvr1",33101, "fileA"); |

This information can also be specified in the Java properties. Refer to the Java API Reference for more information.
Contents
Index
![]()
|