org.micropsi.comp.messages
Class MVersion

java.lang.Object
  extended byorg.micropsi.comp.messages.MVersion
All Implemented Interfaces:
MessageIF

public class MVersion
extends java.lang.Object
implements MessageIF


Field Summary
static int MAJOR
           
static int MINOR
           
static java.lang.String NAME
           
 
Constructor Summary
MVersion()
           
 
Method Summary
 int getMessageType()
           
 int getRemoteMajor()
          Returns the remoteMajor.
 int getRemoteMinor()
          Returns the remoteMinor.
 java.lang.String getRemoteName()
          Returns the remoteName.
 boolean isRemoteVersionOK()
           
 void setRemoteMajor(int remoteMajor)
          Sets the remoteMajor.
 void setRemoteMinor(int remoteMinor)
          Sets the remoteMinor.
 void setRemoteName(java.lang.String remoteName)
          Sets the remoteName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAJOR

public static final int MAJOR
See Also:
Constant Field Values

MINOR

public static final int MINOR
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

MVersion

public MVersion()
Method Detail

getMessageType

public int getMessageType()
Specified by:
getMessageType in interface MessageIF

isRemoteVersionOK

public boolean isRemoteVersionOK()

getRemoteMajor

public int getRemoteMajor()
Returns the remoteMajor.

Returns:
int

getRemoteMinor

public int getRemoteMinor()
Returns the remoteMinor.

Returns:
int

getRemoteName

public java.lang.String getRemoteName()
Returns the remoteName.

Returns:
String

setRemoteMajor

public void setRemoteMajor(int remoteMajor)
Sets the remoteMajor.

Parameters:
remoteMajor - The remoteMajor to set

setRemoteMinor

public void setRemoteMinor(int remoteMinor)
Sets the remoteMinor.

Parameters:
remoteMinor - The remoteMinor to set

setRemoteName

public void setRemoteName(java.lang.String remoteName)
Sets the remoteName.

Parameters:
remoteName - The remoteName to set

(c) by Micropsi Project: http://www.cognitive-agents.org

.