forked from I2P_Developers/i2p.i2p
disapproval of revision '7ed18fd4c3a5430150a2d76bfe202bc491115974'
This commit is contained in:
@@ -2,7 +2,6 @@ package net.i2p.client.streaming;
|
||||
|
||||
import java.net.ConnectException;
|
||||
|
||||
import java.net.SocketTimeoutException;
|
||||
import net.i2p.I2PException;
|
||||
|
||||
/**
|
||||
@@ -10,7 +9,6 @@ import net.i2p.I2PException;
|
||||
*
|
||||
*/
|
||||
public interface I2PServerSocket {
|
||||
|
||||
/**
|
||||
* Closes the socket.
|
||||
*/
|
||||
@@ -26,21 +24,8 @@ public interface I2PServerSocket {
|
||||
* @throws I2PException if there is a problem with reading a new socket
|
||||
* from the data available (aka the I2PSession closed, etc)
|
||||
* @throws ConnectException if the I2PServerSocket is closed
|
||||
* @throws SocketTimeoutException
|
||||
*/
|
||||
public I2PSocket accept() throws I2PException, ConnectException, SocketTimeoutException;
|
||||
|
||||
/**
|
||||
* Set Sock Option accept timeout
|
||||
* @param x
|
||||
*/
|
||||
public void setSoTimeout(long x);
|
||||
|
||||
/**
|
||||
* Get Sock Option accept timeout
|
||||
* @return timeout
|
||||
*/
|
||||
public long getSoTimeout();
|
||||
public I2PSocket accept() throws I2PException, ConnectException;
|
||||
|
||||
/**
|
||||
* Access the manager which is coordinating the server socket
|
||||
|
||||
Reference in New Issue
Block a user