blob: d0b1183f9104dc5d6d7074045ffa0849e094efd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_net_protocol_ftp_FTPConnection__
#define __gnu_java_net_protocol_ftp_FTPConnection__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace net
{
class CRLFOutputStream;
class LineInputStream;
namespace protocol
{
namespace ftp
{
class DTP;
class FTPConnection;
class FTPResponse;
}
}
}
}
}
namespace java
{
namespace net
{
class Socket;
}
}
namespace javax
{
namespace net
{
namespace ssl
{
class TrustManager;
}
}
}
}
class gnu::java::net::protocol::ftp::FTPConnection : public ::java::lang::Object
{
public:
FTPConnection(::java::lang::String *);
FTPConnection(::java::lang::String *, jint);
FTPConnection(::java::lang::String *, jint, jint, jint, jboolean);
virtual jboolean authenticate(::java::lang::String *, ::java::lang::String *);
virtual jboolean starttls(jboolean);
virtual jboolean starttls(jboolean, ::javax::net::ssl::TrustManager *);
virtual jboolean changeWorkingDirectory(::java::lang::String *);
virtual jboolean changeToParentDirectory();
virtual void reinitialize();
virtual void logout();
public: // actually protected
virtual void initialiseDTP();
public:
virtual void setPassive(jboolean);
virtual jint getRepresentationType();
virtual void setRepresentationType(jint);
virtual jint getFileStructure();
virtual void setFileStructure(jint);
virtual jint getTransferMode();
virtual void setTransferMode(jint);
virtual ::java::io::InputStream * retrieve(::java::lang::String *);
virtual ::java::io::OutputStream * store(::java::lang::String *);
virtual ::java::io::OutputStream * append(::java::lang::String *);
virtual void allocate(jlong);
virtual jboolean rename(::java::lang::String *, ::java::lang::String *);
virtual jboolean abort();
virtual jboolean delete$(::java::lang::String *);
virtual jboolean removeDirectory(::java::lang::String *);
virtual jboolean makeDirectory(::java::lang::String *);
virtual ::java::lang::String * getWorkingDirectory();
virtual ::java::io::InputStream * list(::java::lang::String *);
virtual ::java::util::List * nameList(::java::lang::String *);
virtual ::java::lang::String * system();
virtual void noop();
public: // actually protected
virtual void send(::java::lang::String *);
virtual ::gnu::java::net::protocol::ftp::FTPResponse * getResponse();
virtual ::gnu::java::net::protocol::ftp::FTPResponse * readResponse();
public: // actually package-private
static jint parseCode(::java::lang::String *);
public:
static const jint FTP_PORT = 21;
static const jint FTP_DATA_PORT = 20;
public: // actually protected
static ::java::lang::String * USER;
static ::java::lang::String * PASS;
static ::java::lang::String * ACCT;
static ::java::lang::String * CWD;
static ::java::lang::String * CDUP;
static ::java::lang::String * SMNT;
static ::java::lang::String * REIN;
static ::java::lang::String * QUIT;
static ::java::lang::String * PORT;
static ::java::lang::String * PASV;
static ::java::lang::String * TYPE;
static ::java::lang::String * STRU;
static ::java::lang::String * MODE;
static ::java::lang::String * RETR;
static ::java::lang::String * STOR;
static ::java::lang::String * STOU;
static ::java::lang::String * APPE;
static ::java::lang::String * ALLO;
static ::java::lang::String * REST;
static ::java::lang::String * RNFR;
static ::java::lang::String * RNTO;
static ::java::lang::String * ABOR;
static ::java::lang::String * DELE;
static ::java::lang::String * RMD;
static ::java::lang::String * MKD;
static ::java::lang::String * PWD;
static ::java::lang::String * LIST;
static ::java::lang::String * NLST;
static ::java::lang::String * SITE;
static ::java::lang::String * SYST;
static ::java::lang::String * STAT;
static ::java::lang::String * HELP;
static ::java::lang::String * NOOP;
static ::java::lang::String * AUTH;
static ::java::lang::String * PBSZ;
static ::java::lang::String * PROT;
static ::java::lang::String * CCC;
static ::java::lang::String * TLS;
public:
static const jint TYPE_ASCII = 1;
static const jint TYPE_EBCDIC = 2;
static const jint TYPE_BINARY = 3;
static const jint STRUCTURE_FILE = 1;
static const jint STRUCTURE_RECORD = 2;
static const jint STRUCTURE_PAGE = 3;
static const jint MODE_STREAM = 1;
static const jint MODE_BLOCK = 2;
static const jint MODE_COMPRESSED = 3;
private:
static ::java::lang::String * US_ASCII;
public: // actually protected
::java::net::Socket * __attribute__((aligned(__alignof__( ::java::lang::Object)))) socket;
::gnu::java::net::LineInputStream * in;
::gnu::java::net::CRLFOutputStream * out;
jint connectionTimeout;
jint timeout;
jboolean debug;
::gnu::java::net::protocol::ftp::DTP * dtp;
jint representationType;
jint fileStructure;
jint transferMode;
jboolean passive;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_java_net_protocol_ftp_FTPConnection__
|