|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnetcom.mds.AbstractShare
Title: Abstract Share
Description: This represents one shared piece of information by a PServer
Copyright: Copyright (c) 2002
Company: NETCOM
FileShare,
ChatShare,
Serialized Form| Field Summary | |
java.lang.String[] |
access_list
An array of Strings that has name of the PClients who can access this share. |
java.lang.String |
id
Unique ID for the share. |
java.util.List[] |
name_list_pairs
A array of Lists used to see if a share matches a SearchRequest. |
java.lang.String |
ps_name
This is the name of the PServer which created and owns this share |
java.lang.String |
share_name
This is the name of the Share |
AddressPort |
source
Socket of the PServer who has the share. |
| Constructor Summary | |
AbstractShare(java.lang.String ps_name,
java.lang.String share_name,
AddressPort source,
java.lang.String id,
java.lang.String[] access_list,
java.util.List[] name_list_pairs)
Constructs an AbstractShare object representing a share on a PServer |
|
| Method Summary | |
abstract int |
compareTo(java.lang.Object o)
This method is provided so that AbstractShares can be placed into sorted data structures so a search can be performed on them optimally. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public final java.lang.String ps_name
public final java.lang.String share_name
public final AddressPort source
public final java.lang.String id
public final java.lang.String[] access_list
public final java.util.List[] name_list_pairs
| Constructor Detail |
public AbstractShare(java.lang.String ps_name,
java.lang.String share_name,
AddressPort source,
java.lang.String id,
java.lang.String[] access_list,
java.util.List[] name_list_pairs)
ps_name - A String containingname of the PServer to add the share toshare_name - A String representing the name of the Sharesource - An AddressPort that is the Socket of the PServer with the Shareid - A unique String that represents this spedcific share. Used to get data from PServeraccess_list - An array of Strings containing all PClients who have permission to Share. null if everyone has accessname_list_pairs - An array of Lists that have the name lists representing the Share and used for searching for shares within PSDatas| Method Detail |
public abstract int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - Object to compare this object against
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||