|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCADI.Server.Session.Channel
public class Channel
This class is used to save the channel properties.
For further information about JPIP channels, see ISO/IEC 15444-9 section B.2
| Field Summary | |
|---|---|
private java.lang.String |
cap
Definition in ClientCapPrefField.cap. |
private java.lang.String |
cid
Definition in ChannelField.cid. |
private java.lang.String |
csf
Definition in ClientCapPrefField.csf. |
private java.lang.String |
pref
Definition in ClientCapPrefField.pref. |
private java.lang.String |
transport
Indicates the transport protocol. |
| Constructor Summary | |
|---|---|
Channel(java.lang.String transport)
Constructor. |
|
| Method Summary | |
|---|---|
private java.lang.String |
generateCid()
Generates a unique channel identifier. |
java.lang.String |
getCap()
Returns the cap attribute. |
java.lang.String |
getCid()
Returns the cid attribute. |
java.lang.String |
getCsf()
Returns the csf attribute. |
java.lang.String |
getPref()
Returns the pref attribute. |
void |
list(java.io.PrintStream out)
Prints this Channel out to the specified output stream. |
void |
setCap(java.lang.String cap)
Sets the cap attribute. |
void |
setCsf(java.lang.String csf)
Sets the csf attribute. |
void |
setPref(java.lang.String pref)
Sets the pref attribute. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String cid
ChannelField.cid.
private java.lang.String transport
NOTICE: Only the http transport is available.
private java.lang.String cap
ClientCapPrefField.cap.
private java.lang.String pref
ClientCapPrefField.pref.
private java.lang.String csf
ClientCapPrefField.csf.
| Constructor Detail |
|---|
public Channel(java.lang.String transport)
transport - see transport.| Method Detail |
|---|
public java.lang.String getCap()
cap attribute.
cap attribute.public void setCap(java.lang.String cap)
cap attribute.
cap - the cap to be set.public java.lang.String getCid()
cid attribute.
cid attribute.public java.lang.String getCsf()
csf attribute.
csf attribute.public void setCsf(java.lang.String csf)
csf attribute.
csf - the csf to be set.public java.lang.String getPref()
pref attribute.
pref attribute.public void setPref(java.lang.String pref)
pref attribute.
pref - the pref to be set.public java.lang.String toString()
toString in class java.lang.Objectpublic void list(java.io.PrintStream out)
out - an output stream.private java.lang.String generateCid()
NOTICE: this method must be improved adding the Rijndael (or another one), client information, etc. to improve the security.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||