summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/TDEBufferedIOSignals.java
blob: 1b81b725f9a6a2f5116486ae6089b55a74bcafbc (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;

public interface TDEBufferedIOSignals {
	/**	
		 This signal gets sent whenever bytes are written from the buffer.
			@param nbytes the number of bytes sent.
		   		@short    This signal gets sent whenever bytes are written from the buffer.
	*/
	void bytesWritten(int nbytes);
	/**	
		 This signal gets sent when the stream is closed. The <code>state</code> parameter
		 will give the current state, in OR-ed bits:
		
			<li>
			availRead:	read buffer contains data to be read
			</li>
			
			<li>
			dirtyWrite:	write buffer wasn't empty when the stream closed
			</li>
			
			<li>
			involuntary:	the stream wasn't closed due to user request
						(i.e., call to close). Probably remote end closed it
			</li>
			
			<li>
			delayed:	the stream was closed voluntarily by the user, but it
						happened only after the write buffer was emptied
			</li>
			
			<li>
			closedNow:	the stream was closed voluntarily by the user, by
						explicitly calling closeNow, which means the
						write buffer's contents may have been discarded
			</li>
				@param state the state (see function description)
		   		@short    This signal gets sent when the stream is closed.
	*/
	void closed(int state);
}