SchemaAdvertMsg
Keywords: uk.ac.ic.doc.rodex.p2p.messages.applicationlayer.SchemaAdvertMsg class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uk.ac.ic.doc.rodex.p2p.messages.applicationlayer
Class SchemaAdvertMsg

    java.lang.Object
      uk.ac.ic.doc.rodex.p2p.messages.applicationlayer.SchemaAdvertMsg

All Implemented Interfaces:
  ApplicationMessage

    public class SchemaAdvertMsg

extends java.lang.Object
implements ApplicationMessage

SchemaAdvertMsg.java
The schema advertisement message sent by a peer to the directory service peer to advertise its public schemas

Author:
  Duc M Le dmle@doc.ic.ac.uk
  Created on April 20, 2006
  Department of Computing, Imperial College

Constructor Summary
`SchemaAdvertMsg(java.util.List sacs)` Creates a new instance of HelloMsg

Method Summary
`ApplicationMessage` | `createFrom(AbstractMessage message)` Return an instance of this message created from a given `AbstractMessage` This method is used by the receiving peer to decode the message
`AbstractMessage` | `getAbstractMessage()` Return the actual message
`java.lang.String` | `getContext()` Return the message context
`java.lang.String` | `getPerformative()` Return the message's performative

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SchemaAdvertMsg

    public SchemaAdvertMsg(java.util.List sacs)

  Creates a new instance of HelloMsg

  Parameters:
    `sacs` - one or more `SchemaAccessibility` objects

Method Detail

### getPerformative

    public java.lang.String getPerformative()

  Return the message's performative

  Specified by:
    `getPerformative` in interface `ApplicationMessage`

### getContext

    public java.lang.String getContext()

  Return the message context

  Specified by:
    `getContext` in interface `ApplicationMessage`

### getAbstractMessage

    public AbstractMessage getAbstractMessage()

  Return the actual message

  Specified by:
    `getAbstractMessage` in interface `ApplicationMessage`

### createFrom

    public ApplicationMessage createFrom(AbstractMessage message)

  Return an instance of this message created from a given `AbstractMessage` This method is used by the receiving peer to decode the message

  Specified by:
    `createFrom` in interface `ApplicationMessage`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD