## org.autoplot.server.RequestListener

## RequestListener( )

## PROP_READDATA

## PROP_SOCKET

## PROP_PORT

## PROP_DATA

## PROP_LISTENING

## PROP_REQUESTCOUNT

## addPropertyChangeListener

addPropertyChangeListener( java.beans.PropertyChangeListener listener ) → void

Add PropertyChangeListener.

### Parameters

listener - a PropertyChangeListener

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc]
addPropertyChangeListener( String propertyName, java.beans.PropertyChangeListener listener ) → void [view source]

## getData

getData( ) → String

Get the value of data

### Returns:

the value of data
[search for examples] [view on GitHub] [view on old javadoc]

## getOutputStream

getOutputStream( ) → java.io.OutputStream

### Returns:

java.io.OutputStream
[search for examples] [view on GitHub] [view on old javadoc]

## getPort

getPort( ) → int

return the port being used. Note if the port was zero, this will be assigned the port that was used.

### Returns:

the port being used.
[search for examples] [view on GitHub] [view on old javadoc]

## getRequestCount

getRequestCount( ) → int

### Returns:

int
[search for examples] [view on GitHub] [view on old javadoc]

## getSocket

getSocket( ) → java.net.Socket

### Returns:

java.net.Socket
[search for examples] [view on GitHub] [view on old javadoc]

## isListening

isListening( ) → boolean

### Returns:

boolean
[search for examples] [view on GitHub] [view on old javadoc]

## isReadData

isReadData( ) → boolean

### Returns:

boolean
[search for examples] [view on GitHub] [view on old javadoc]

## removePropertyChangeListener

removePropertyChangeListener( java.beans.PropertyChangeListener listener ) → void

Remove PropertyChangeListener.

### Parameters

listener - a PropertyChangeListener

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc]
removePropertyChangeListener( String propertyName, java.beans.PropertyChangeListener listener ) → void [view source]

## setData

setData( String newdata ) → void

Set the value of data

### Parameters

newdata - new value of data

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc]

## setListening

setListening( boolean newlistening ) → void

### Parameters

newlistening - a boolean

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc]

## setPort

setPort( int newport ) → void

this may be zero to request that a port be chosen, or non-zero for the port number.

### Parameters

newport - an int

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc]

## setReadData

setReadData( boolean newreadData ) → void

### Parameters

newreadData - a boolean

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc]

## setRequestCount

setRequestCount( int newrequestCount ) → void

### Parameters

newrequestCount - an int

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc]

## setSocket

setSocket( java.net.Socket newsocket ) → void

### Parameters

newsocket - a Socket

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc]

## startListening

startListening( ) → void

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc]

## stopListening

stopListening( ) → void

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc]