Serialized Form
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
date
Date date
- The date of the invoice.
title
String title
- The title of the invoice.
items
InvoiceItem[] items
- The items the invoice contains of.
issuer
String issuer
- The issuer of the invoice.
issuerCert
Certificate issuerCert
- Teh certificate of the issuer of the invoice.
signature
byte[] signature
- The actual siganture.
signAlgorithm
String signAlgorithm
- The algorithm used for signing.
certificate
Certificate certificate
- The (optional) certificate associated with the signature.
cardCompany
String cardCompany
- The name of the company which issued the card
nameOnCard
String nameOnCard
- The name on the card (=holder)
number
byte[] number
- The number on the card
expiry
Date expiry
- The expiry date of the card
shortName
String shortName
- The short name of the currency.
longName
String longName
- The long name of the currency.
abbrev
String[] abbrev
- The list of abbreviations of the currency.
pre
boolean pre
- If true, the currency is in front of values, otherwise behind.
loc
Locale loc
- The locale for parsing values in this currency.
exchangeRateToStandard
double exchangeRateToStandard
- The exchange rate to one Euro.
stringData
String stringData
- The content: String
byteData
byte[] byteData
- The content: Array of bytes
serialData
Serializable serialData
- The content: Serializable object
value
Price value
- The value of the data.
characteristic
String characteristic
- The characteristic (=description) of the data.
stringData
String stringData
- The actual data: Type string.
byteData
byte[] byteData
- The actual data: Type array of bytes.
serialData
Serializable serialData
- The actual data: Type serializable object.
used
boolean used
- Flag to mark whether this data has already been used for payment or not.
item
String item
- The name for this line
price
Price price
- The price associated with the line
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
addressee
String addressee
- The addressee of the invoice.
addresseeCert
Certificate addresseeCert
- The certificate of the addressee.
invoice
Invoice invoice
- Invoice this payment is for
characteristic
String characteristic
- Characteristic for this payment
certificate
Certificate certificate
- The (optional) certificate associated with the signature.
signAlgorithm
String signAlgorithm
- The algorithm used for signing.
signature
byte[] signature
- The actual siganture.
curr
Currency curr
- The currency of this price.
price
double price
- The value of this price.
voucher
Certificate voucher
- The voucher itself
value
Price value
- The value of the voucher.
characteristic
String characteristic
- The characteristic (=description) of the voucher.
voucher
Certificate voucher
- The voucher itself.
used
boolean used
- Flag to mark whether this data has already been used for payment or not.
table
Hashtable table
- The hashtable for storing the data
readObject
private void readObject(ObjectInputStream ins)
throws IOException,
ClassNotFoundException
- Reads the name, the private key and the certificate from the stream using a factory. Loads
the classes through the same classloader as the ObjectInputStream was loaded from.
writeObject
private void writeObject(ObjectOutputStream outs)
throws IOException
- Writes the name, the private key and the certificate to the stream using a factory.
name
String name
- The name of the certificate and the private key.
-
priv
PrivateKey priv
- The private key.
-
cert
Certificate cert
- The certificate.
-
readObject
private void readObject(ObjectInputStream ins)
throws IOException,
ClassNotFoundException
- Reads the name and the keys from the stream using a factory. Loads the classes through the same
classloader as the ObjectInputStream was loaded from.
writeObject
private void writeObject(ObjectOutputStream outs)
throws IOException
- Writes the name and the keys to the stream using a factory.
name
String name
- The name of this keypair.
-
kp
KeyPair kp
- The keypair itself.
-
encrypted
javax.crypto.SealedObject encrypted
- The object containing the encrypted (and previously signed) data-object.
-
cryptAlgorithm
String cryptAlgorithm
- The algorithm used for encryption.
-
cryptData
Serializable cryptData
- Additional data to tell the recipient e. g. which public key was used for encryption.
-
data
Vector data
- Array for storing the additional data for the entries.
-
isReadOnly
boolean isReadOnly
- If
true
, the selection cannot be changed -
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Reads the timer from a stream. If it was running when it was written to the stream the timer ist started.
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Writes the timer to a stream.
waitSeconds
long waitSeconds
- Number of seconds to wait till the event occurs.
-
actionReceivers
Vector actionReceivers
- The listeners, which have to be notified when the event occurs.
-
running
boolean running
- Whether the thread is currently running or not.
-
once
boolean once
- If
true
the event will only occur one, otherwise the delay will
be restarted immediately after notifying the listeners. -
id
long id
- The ID of the timer.
-
Package FIM.Util.WWW.Cookies |
name
String name
- The name of the cookie.
-
value
String value
- The value of the cookie.
-
path
String path
- The path of the cookie (the subset of URLs for which this cookie is valid).
-
domain
String domain
- The domain of the cookie (from where it was sent; hostname).
-
expires
Date expires
- The date when to cookie expires (will be deleted after this time).
-
secure
boolean secure
- Flag to indicate whether the cookie is secure or not (if
true
it will
only be sent when using a secure communications channel). -
strict
boolean strict
- Whether checking should be done strict (e. g. domain).
-
lastSent
Date lastSent
- The time this cookie was last handed out. Necessary for purging when the limits are exceeded.
Not the oldest, but the least recently used cookies should be thrown away.
If
null
it was never sent. -
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Restores all cookies from a stream.
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Stores all non-expired and non-session-only cookies to a stream.
table
Hashtable table
- Store for the cookies. Key is domain+";"+path+";"+name .
-
Package FIM.Util.WWW.Form |
value
String value
- The value of this element.
-
type
String type
- The type of this button.
-
containedElems
Vector containedElems
- The contained elements.
-
doc
HTMLDocument doc
- The document this element belongs to.
-
startOffs
int startOffs
- Offset of the start of this element in the document.
-
endOffs
int endOffs
- Offset of the end of this element in the document.
-
parent
Element parent
- The pointer to the parent element of this element. Top-level elements point to the form thei are in.
-
lastIndex
int lastIndex
- The index of the last child element searched for.
-
label
String label
- The label of the element. May be
null
. -
name
String name
- The name of the element (case-insensitive).
-
children
Vector children
- The children of this element, if any.
-
attributes
MutableAttributeSet attributes
- The attributes of this element. Always exists, but may be empty.
-
unnamedCount
int unnamedCount
- Counter for creating unique names for elements, which have no NAME or ID property.
-
lastIndex
int lastIndex
- The index at which the last child we searched for was found (For optimizing the search).
-
doc
HTMLDocument doc
- The document this form belongs to.
-
startOffs
int startOffs
- The start offset of the form in the document.
-
endOffs
int endOffs
- The end offset of the form in the document.
-
formName
String formName
- The name of the form.
-
formElements
Vector formElements
- The elements of the form. They are stored in the order they are encountered.
Elements are stored flat, so no hierarchy takes place. Grouping is done through the
separate groups.
Only those elements providing data (at least possibly) are included.
-
formAttributes
MutableAttributeSet formAttributes
- Attributes of the form.
-
groups
Hashtable groups
- The groups of elements within the form. E. g. all checkboxes with thesame name or all
radiobuttons belonging together or a group of elements to select (SELECT element).
-
src
String src
- The
URL
of the image to display (as string). -
x
int x
- The x coordinate clicked (0..width of image).
-
y
int y
- The y coordinate clicked (0..height of image).
-
result
Object result
- The result of submitting the form:
null
: The page was not submitted through this element
String
: The page returned from submitting
- Subclass of
IOException
: if an error occured during submitting
-
maxLen
int maxLen
- The maximum length of the text string.
-
group
ElementGroup group
- The group the element belongs to. May not be
null
. -
selected
boolean selected
- Whether this element is selected or not.
Package access for SingleSelectionGroup.
-
initiallySelected
boolean initiallySelected
- Whether this element was selected initially.
-
value
String value
- The value of this element (the string submitted if it is selected).
-
result
Object result
- The result of submitting the form:
null
: The page was not submitted through this element
String
: The page returned from submitting
- Subclass of
IOException
: if an error occured during submitting
-
initialText
String initialText
- The initial text of this control. If
null
, it is empty. -
currentText
String currentText
- The current text of the element.
-
data
byte[] data
- The array of bytes to be encoded/stored.
str
String str
- The string to be encoded
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Reads the agent from a stream
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Writes the agent to a stream
log
Vector log
- Our own private log of actions, events, errors, ...
-
permissionListeners
Vector permissionListeners
- Listeners for permission changes
-
experiences
Experiences experiences
- Our own experiences
-
keys
Hashtable keys
- Store for keys (secret, private and public ones).
Only
NamedKeyPair
may be added, else the serialization will fail! -
certificates
Hashtable certificates
- Store for certificate (our own and foreign ones).
Only
NamedKeyAndCertificate
may be added, else the serialization will fail! -
conversationTypes
Hashtable conversationTypes
- List of all conversations we understand. These objects are prototypes and will be cloned if a new
conversation of this type shall be started .
-
conversationArchive
Hashtable conversationArchive
- Previous conversations that were archived. See
Conversation.setShouldArchive
. -
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Restores the conversation from a stream.
Updates conversationSerialID if necessary to be always larger than the largest serialID
of all conversations.
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Stores this conversation to a stream.
counterpartConvID
long counterpartConvID
- The conversation ID of the counterpart agent. Is 0 if counterpart=null.
-
myAgent
AgentBase myAgent
- The agent this conversation belongs to.
-
uniquePartner
boolean uniquePartner
- If
true
, this conversation has only a single partner. -
serialID
long serialID
- The ID of this conversation.
-
initiator
boolean initiator
- If
true
this agent is the initiator of the conversation. Otherwise
it was created in response to an incoming message. -
shouldArchive
boolean shouldArchive
- If
true
, this conversation should be archived after terminating, otherwise
it is destroyed after the end. -
retryAfterSeconds
int retryAfterSeconds
- Number of seconds after which to retry the action.
-
perms
Hashtable perms
- The contained permissions.
-
allPermission
PermissionCollection allPermission
- Optimization. Keep track of the AllPermission collection
-
limit
long limit
- Limit for the total length of files in bytes. -1 if unlimited.
-
e
Exception e
- The contained exception, which occured during initialization of the agent.
May be
null
, but then a detail message should be provided. -
perm
Permission perm
- The permissions which was granted or revoked
-
type
int type
- Whether it was granted or revoked.
-
- See Also:
PermissionEvent.PERMISSION_GRANTED
,
PermissionEvent.PERMISSION_REVOKED
perms
Hashtable perms
- Hashtable for storing the permissions.
-
readObject
private void readObject(ObjectInputStream ois)
throws IOException,
ClassNotFoundException
- Restores this object from a stream (i.e., deserializes it).
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException
- Writes this object out to a stream (i.e., serializes it).
- Serial Data:
- An initial
String
denoting the
type
is followed by a String
denoting the
name
is followed by a String
denoting the
actions
is followed by an int
indicating the
number of certificates to follow
(a value of "zero" denotes that there are no certificates associated
with this object).
Each certificate is written out starting with a String
denoting the certificate type, followed by an
int
specifying the length of the certificate encoding,
followed by the certificate encoding itself which is written out as an
array of bytes.
type
String type
- The class name of the Permission class that will be
created when this unresolved permission is resolved.
-
name
String name
- The permission name.
-
actions
String actions
- The actions of the permission.
-
permissions
Hashtable permissions
-
values
Hashtable values
- The store for the values.
-
Package PkgAgentSystem.Classification |
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Restore the certificate from the stream. The status is set to REQUEST_CHECK.
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Store the certificate in the stream. The status is ignored.
cert
Certificate cert
- The certificate, which is presented as additional classification
-
Package PkgAgentSystem.Crypto |
version
int version
- Version of identity. MUST be changed in subclasses!
signed
boolean signed
- true if this is identity is signed
signAlgorithmOwner
String signAlgorithmOwner
- The algorithm used for signing by the owner
signatureOwner
byte[] signatureOwner
- The signature of the owner
signatureAgent
byte[] signatureAgent
- The algorithm used for signing by the agent
signAlgorithmAgent
String signAlgorithmAgent
- The signature of the agent
ownerName
String ownerName
- String representation of the name of the owner
name
String name
- The name of the agent
id
String id
- ID if the agent; should be unique. No two agents with the same ID are allowed on an agent system
home
URL home
URL
of the home system of the agent. Protocol must be 'amp'
agentPublicKeyName
String agentPublicKeyName
- Name of the public key of the agent
deploySignatureInitialization
byte[] deploySignatureInitialization
- Signature of the initialization state of the agent.
deploySignatureCode
byte[] deploySignatureCode
- Signature on the code signatures.
information
Hashtable information
- The Hashtable where the information is stored
name
String name
- The name of the public key
Package PkgAgentSystem.Experiences |
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Reads this object from a stream.
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Writes this object to a stream.
location
URL location
- The current location where this agent is expected to be (may be empty in unknown; can be wrong
if it e. g. moved since our last interaction).
-
generalTrust
double generalTrust
- The general trust we set in this agent (credibility of its statements).
-
transitiveTrust
double transitiveTrust
- The transitive trust we set in this agent (credibility of its statements);
calculated through statements by other agents.
-
changed
boolean changed
- Used for the internal recalculation of trust.
Package access for class Experiences (this object was change in the current phase).
-
statementsBySrc
Vector statementsBySrc
- All statements made by this agent.
-
statementsByOnAgent
Vector statementsByOnAgent
- All statements made on this agent.
-
ourOpinionByCharacteristic
Hashtable ourOpinionByCharacteristic
- Our own opinions on the characteristics of this agent.
Stored by their name. Value is in range 0.0 - 1.0 .
-
stat
Statement stat
- The statement to distribute.
-
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Reads this object from stream.
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Writes this object to a stream.
ids
Vector ids
- The list of identities in the trace.
-
lines
Vector lines
- The lines in the trace. Identities are sorted in the same order as in the vector ids.
-
self
AgentModel self
- Our own model.
-
stat
Statement stat
- The statement to tell the other agents.
-
statements
Vector statements
- List of statements to send.
-
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Reads this statement from a stream.
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Writes this statement to a stream.
characteristic
String characteristic
- The characteristic of the destination agent.
-
value
double value
- The value of the characteristic.
-
Package PkgAgentSystem.GUI |
Package PkgAgentSystem.Messaging |
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Reads a message from a stream.
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Writes this message to a stream.
srcConvID
long srcConvID
- ID of the conversation at the source of the message.
-
destConvID
long destConvID
- ID of the conversation at the destination of the message.
Filled in by the recipient.
-
convTypeID
long convTypeID
- ID of the type of the conversation, which handles this message.
-
challenge
byte[] challenge
- Our own challenge to the other host
-
signed_challenge
byte[] signed_challenge
- Our own signature on the challenge from the other host
-
cause
String cause
- An optional string containing the reason for declining.
-
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Reads a message from a stream.
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Writes this message to a stream.
srcConvID
long srcConvID
- ID of the conversation at the source of the message.
-
destConvID
long destConvID
- ID of the conversation at the destination of the message.
-
fromInitiator
boolean fromInitiator
- Indicates, whether this message is from the initiator to the other party/parties (
true
)
or whether it is an answer directed to the initiator of the conversation (false
) -
convTypeID
long convTypeID
- ID of the type of the conversation, which handles this message.
-
msg
MessageType msg
- The message in which context the exception occured
-
message
MessageType message
- The contained message.
-
success
boolean success
- If the result is positive or negative.
-
result
String result
- The result as a string.
-
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Restore the object from a stream.
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Writes the signed message to a stream.
byteContent
byte[] byteContent
- The message in a byte representation.
-
signature
byte[] signature
- The signature of the message.
-
algorithm
String algorithm
- The algorithm used for signing.
-
Submit a bug
Copyright 2001,2002 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.