1 24 25 package org.objectweb.dream.channel; 26 27 import org.objectweb.fractal.api.control.AttributeController; 28 import org.objectweb.fractal.api.control.IllegalLifeCycleException; 29 30 33 public interface TCPAcceptSocketAttributeController extends AttributeController 34 { 35 36 int OPEN_RETRY_DEFAULT = 5; 37 38 43 int getListeningPort(); 44 45 53 void setListeningPort(int port) throws IllegalLifeCycleException; 54 55 61 int getOpenRetry(); 62 63 69 void setOpenRetry(int retry); 70 71 78 boolean getTcpNoDelay(); 79 80 86 void setTcpNoDelay(boolean tcpNoDelay); 87 88 94 int getSoTimeout(); 95 96 102 void setSoTimeout(int timeout); 103 104 111 int getSoLinger(); 112 113 118 void setSoLinger(int timeout); 119 } | Popular Tags |