Javadoc
This commit is contained in:
parent
54dd31c449
commit
f65b53917d
@ -160,7 +160,7 @@ public interface ChannelConfig {
|
||||
void setConnectTimeoutMillis(int connectTimeoutMillis);
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link WriteTimeoutHandler} instead if necessary.
|
||||
* @deprecated Use {@link WriteTimeoutHandler} instead.
|
||||
*
|
||||
* Returns the write timeout of the channel in milliseconds. If a write
|
||||
* operation is not completed within the write timeout, an
|
||||
@ -174,7 +174,7 @@ public interface ChannelConfig {
|
||||
int getWriteTimeoutMillis();
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link WriteTimeoutHandler} instead if necessary.
|
||||
* @deprecated Use {@link WriteTimeoutHandler} instead.
|
||||
*
|
||||
* Sets the write timeout of the channel in milliseconds. If a write
|
||||
* operation is not completed within the write timeout, an
|
||||
|
@ -28,6 +28,7 @@ import java.util.Map.Entry;
|
||||
import org.jboss.netty.buffer.ChannelBufferFactory;
|
||||
import org.jboss.netty.buffer.HeapChannelBufferFactory;
|
||||
import org.jboss.netty.channel.socket.SocketChannelConfig;
|
||||
import org.jboss.netty.handler.timeout.WriteTimeoutHandler;
|
||||
|
||||
/**
|
||||
* The default {@link SocketChannelConfig} implementation.
|
||||
@ -86,6 +87,9 @@ public class DefaultChannelConfig implements ChannelConfig {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link WriteTimeoutHandler} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public int getWriteTimeoutMillis() {
|
||||
return 0;
|
||||
@ -102,6 +106,9 @@ public class DefaultChannelConfig implements ChannelConfig {
|
||||
// Unused
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link WriteTimeoutHandler} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public void setWriteTimeoutMillis(int writeTimeoutMillis) {
|
||||
// Unused
|
||||
|
Loading…
Reference in New Issue
Block a user