|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.port.Port
com.caucho.server.resin.SrunPort
public class SrunPort
Represents a protocol connection.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.caucho.server.port.Port |
|---|
Port.SuspendReaper |
| Constructor Summary | |
|---|---|
SrunPort()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getGroup()
Gets the session group for the srun. |
int |
getIndex()
Returns the session index for the srun. |
java.lang.String |
getSrunGroup()
|
int |
getSrunIndex()
|
java.lang.String |
getSrunProtocol()
Returns the protocol class. |
boolean |
isBackup()
Return true for a backup. |
void |
setBackup(boolean isBackup)
Set true for a backup. |
void |
setGroup(java.lang.String group)
Sets the session group for the srun. |
void |
setIndex(int index)
Sets the session index for the srun. |
void |
setProtocol(ProtocolConfig protocol)
Sets the srun protocol (srun or hmux) |
void |
setSrunGroup(java.lang.String group)
|
void |
setSrunIndex(int index)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SrunPort()
| Method Detail |
|---|
public void setProtocol(ProtocolConfig protocol)
throws ConfigException
ConfigExceptionpublic java.lang.String getSrunProtocol()
public void setIndex(int index)
public int getIndex()
public void setBackup(boolean isBackup)
public boolean isBackup()
public void setSrunIndex(int index)
public int getSrunIndex()
public void setSrunGroup(java.lang.String group)
public java.lang.String getSrunGroup()
public void setGroup(java.lang.String group)
public java.lang.String getGroup()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||