|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectants.p2p.Message
ants.p2p.messages.PrivateChatMessage
public class PrivateChatMessage
| Field Summary |
|---|
| Fields inherited from class ants.p2p.Message |
|---|
dest |
| Constructor Summary | |
|---|---|
PrivateChatMessage(Message m,
java.lang.String content)
|
|
PrivateChatMessage(java.lang.String content)
|
|
| Method Summary | |
|---|---|
void |
decrypt(javax.crypto.Cipher c)
|
void |
encrypt(javax.crypto.Cipher c)
|
java.lang.String |
getContent()
|
| Methods inherited from class ants.p2p.Message |
|---|
disableAutoRetransmit, equals, fillMessageProperties, getAck_Id, getDelivered, getDest, getPublicKey, getRetrasmissions, getSignableMessage, getSignature, getSource, getSourceAddress, getType, getVersion, invalidate, resetDelivered, resetDest, resetSource, retrasmitted, setDelivered, setPublicKey, setSignature |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrivateChatMessage(Message m,
java.lang.String content)
public PrivateChatMessage(java.lang.String content)
| Method Detail |
|---|
public java.lang.String getContent()
public void encrypt(javax.crypto.Cipher c)
throws java.lang.Exception
encrypt in class Messagejava.lang.Exception
public void decrypt(javax.crypto.Cipher c)
throws java.lang.Exception
decrypt in class Messagejava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||