## 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( ) → java.io.OutputStream [view source]

## 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( ) → int [view source]
getSocket( ) → java.net.Socket [view source]
isListening( ) → boolean [view source]
isReadData( ) → boolean [view source]

## 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( boolean newlistening ) → void [view source]

## 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( boolean newreadData ) → void [view source]
setRequestCount( int newrequestCount ) → void [view source]
setSocket( java.net.Socket newsocket ) → void [view source]
startListening( ) → void [view source]
stopListening( ) → void [view source]