|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A reliable multicast channel. Several different implementations of the Channel interface are provided, depending on whether it's local or remote. To get a Channel object, use ChannelManager.getChannel() or ChannelManager.createChannel().
ChannelManager| Field Summary | |
static int |
CHANNEL_FIELD_ABSTRACT
A constant used in a ChannelChangedEvent to indicate that the abstract has changed. |
static int |
CHANNEL_FIELD_ADDITIONAL_ADVERTISED_DATA
A constant used in a ChannelChangedEvent to indicate that the additional advertised data has changed. |
static int |
CHANNEL_FIELD_ADDITIONAL_UNADVERTISED_DATA
A constant used in a ChannelChangedEvent to indicate that the additional unadvertised data has changed. |
static int |
CHANNEL_FIELD_ADVERTISEMENT_ADDRESS
A constant used in a ChannelChangedEvent to indicate that the advertisement address has changed. |
static int |
CHANNEL_FIELD_ADVERTISING_REQUESTED
A constant used in a ChannelChangedEvent to indicate that the advertising requested flag has changed. |
static int |
CHANNEL_FIELD_APPLICATION_NAME
A constant used in a ChannelChangedEvent to indicate that the application name has changed. |
static int |
CHANNEL_FIELD_CHANNEL_NAME
A constant used in a ChannelChangedEvent to indicate that the channel name has changed. |
static int |
CHANNEL_FIELD_CIPHER_MODE
A constant used in a ChannelChangedEvent to indicate that the enabled flag has changed. |
static int |
CHANNEL_FIELD_CONTACT_NAME
A constant used in a ChannelChangedEvent to indicate that the contact name has changed. |
static int |
CHANNEL_FIELD_DATA_END_TIME
A constant used in a ChannelChangedEvent to indicate that the data end time has changed. |
static int |
CHANNEL_FIELD_DATA_START_TIME
A constant used in a ChannelChangedEvent to indicate that the data start time has changed. |
static int |
CHANNEL_FIELD_ENABLED
A constant used in a ChannelChangedEvent to indicate that the enabled flag has changed. |
static int |
CHANNEL_FIELD_MAXIMUM_SPEED
A constant used in a ChannelChangedEvent to indicate that the maximum speed has changed. |
static int |
CHANNEL_FIELD_MINIMUM_SPEED
A constant used in a ChannelChangedEvent to indicate that the minimum speed has changed. |
static int |
CHANNEL_FIELD_MULTIPLE_SENDERS_ALLOWED
A constant used in a ChannelChangedEvent to indicate that the multiple senders allowed flag has changed. |
static int |
CHANNEL_FIELD_SESSION_END_TIME
A constant used in a ChannelChangedEvent to indicate that the session end time has changed. |
static int |
CHANNEL_FIELD_TRANSPORT_PROFILE
A constant used in a ChannelChangedEvent to indicate that the transport profile has changed. |
| Method Summary | |
void |
addChannelChangeListener(com.sun.multicast.reliable.channel.ChannelChangeListener listener)
Add a ChannelChangeListener to the listener list. |
com.sun.multicast.reliable.channel.ChannelRMPacketSocket |
createRMPacketSocket(int sendReceive)
Creates a ChannelRMPacketSocket for sending and/or receiving on the channel. |
com.sun.multicast.reliable.channel.ChannelRMPacketSocket |
createRMPacketSocket(TransportProfile tp,
int sendReceive)
Creates a ChannelRMPacketSocket for sending and/or receiving on the channel. |
com.sun.multicast.reliable.channel.ChannelRMStreamSocket |
createRMStreamSocket(int sendReceive)
Creates a ChannelRMStreamSocket for sending and/or receiving on the channel. |
com.sun.multicast.reliable.channel.ChannelRMStreamSocket |
createRMStreamSocket(TransportProfile tp,
int sendReceive)
Creates a ChannelRMStreamSocket for sending and/or receiving on the channel. |
void |
destroy()
Destroys the Channel. |
void |
disableCipher()
Disables the use of cipher functionality. |
Channel |
duplicate()
Duplicates the Channel. |
void |
enableCipher()
Enables the use of cipher functionality. |
java.lang.String |
getAbstract()
Gets an optional field containing an abstract describing the channel. |
java.lang.String |
getAdditionalAdvertisedData()
Gets an optional field for additional channel-specific data to be included in advertisements. |
java.lang.String |
getAdditionalUnadvertisedData()
Gets an optional field for additional channel-specific data to be included in the channel, but not included in advertisements. |
java.net.InetAddress |
getAdvertisementAddress()
Returns the multicast address used for advertisements. |
long |
getAdvertisementCount()
Gets the count of times the channel has been advertised. |
java.util.Date |
getAdvertisementTimestamp()
Gets the time the channel was last advertised. |
boolean |
getAdvertisingRequested()
Tests if channel advertising has been requested. |
java.lang.String |
getApplicationName()
Returns the channel's application name. |
long |
getChannelID()
Gets the channel ID (a long that identifies the channel uniquely, at least within the ChannelManager). |
java.lang.String |
getChannelName()
Returns the channel name. |
java.lang.String |
getCipherSpecFileName()
gets the name of the specification file that is to be used to initialize the Cipher. |
java.lang.String |
getContactName()
Gets an optional field containing a contact name for the channel. |
java.util.Date |
getCreationTime()
Gets the time the channel was created. |
int |
getCurrentAdvertisementInterval()
Gets the number of seconds between the last two advertisements. |
java.util.Date |
getDataEndTime()
Gets a copy of the channel's data end time. |
java.util.Date |
getDataStartTime()
Gets a copy of the channel's data start time. |
java.util.Vector |
getDynamicFilterList()
Returns a deep copy of the channel's list of dynamic filters. |
java.util.Date |
getExpirationTime()
Gets a copy of the channel's expiration time. |
int |
getLeadTime()
Gets the channel's suggested registration lead time. |
int |
getLeadTimeRandomInterval()
Gets the channel's suggested registration randomizer interval. |
int |
getMaximumSpeed()
Gets the maximum speed at which channel sends data in bits per second. |
int |
getMinimumSpeed()
Gets the minimum speed at which channel sends data in bits per second. |
java.util.Date |
getSessionEndTime()
Gets a copy of the channel's session end time. |
TransportProfile |
getTransportProfile()
Returns a copy of the channel's TransportProfile. |
int |
getTransportReceiverCount()
Gets the number of receivers connected to the transport. |
boolean |
isAdvertising()
Tests if the channel is being advertised. |
boolean |
isEnabled()
Tests whether the channel is enabled. |
boolean |
isMultipleSendersAllowed()
Tests if multiple senders are allowed on this channel. |
boolean |
isUsingCipher()
Test method to check if the cipher functionality is being used. |
boolean |
isValid()
Tests whether the channel is valid. |
void |
removeChannelChangeListener(com.sun.multicast.reliable.channel.ChannelChangeListener listener)
Remove a ChannelChangeListener from the listener list. |
void |
setAbstract(java.lang.String data)
Sets an optional field containing an abstract describing the channel. |
void |
setAdditionalAdvertisedData(java.lang.String data)
Sets an optional field for additional channel-specific data to be included in advertisements. |
void |
setAdditionalUnadvertisedData(java.lang.String data)
Sets an optional field for additional channel-specific data to be included in the channel, but not included in advertisements. |
void |
setAdvertisementAddress(java.net.InetAddress address)
Sets the requested multicast address to be used for advertisements. |
void |
setAdvertisingRequested(boolean newAdvertising)
Sets whether channel advertising is requested. |
void |
setApplicationName(java.lang.String name)
Sets the channel's application name. |
void |
setChannelName(java.lang.String name)
Sets the channel name. |
void |
setCipherSpecFileName(java.lang.String cipherSpecFileName)
sets the name of the specification file that is to be used to initialize the Cipher. |
void |
setContactName(java.lang.String data)
Sets an optional field containing a contact name for the channel. |
void |
setDataEndTime(java.util.Date endTime)
Sets the channel's data end time. |
void |
setDataStartTime(java.util.Date startTime)
Sets the channel's data start time. |
void |
setDynamicFilterList(java.util.Vector list)
Sets the channel's dynamic filter list. |
void |
setEnabled(boolean b)
Sets whether the channel is enabled. |
void |
setExpirationTime(java.util.Date expirationTime)
Sets the channel's expiration time. |
void |
setLeadTime(int leadTime)
Sets the channel's suggested registration lead time. |
void |
setLeadTimeRandomInterval(int interval)
Sets the channel's suggested registration randomizer interval. |
void |
setMaximumSpeed(int speed)
Sets the maximum speed at which channel sends data in bits per second. |
void |
setMinimumSpeed(int speed)
Sets the minimum speed at which channel sends data in bits per second. |
void |
setMultipleSendersAllowed(boolean multiple)
Sets if multiple senders are allowed on this channel. |
void |
setSessionEndTime(java.util.Date endTime)
Sets the channel's session end time. |
void |
setTransportProfile(TransportProfile profile)
Sets the channel's transport profile. |
void |
validate()
Throws an exception if the channel is not valid. |
| Field Detail |
public static final int CHANNEL_FIELD_CHANNEL_NAME
public static final int CHANNEL_FIELD_APPLICATION_NAME
public static final int CHANNEL_FIELD_TRANSPORT_PROFILE
public static final int CHANNEL_FIELD_DATA_START_TIME
public static final int CHANNEL_FIELD_DATA_END_TIME
public static final int CHANNEL_FIELD_SESSION_END_TIME
public static final int CHANNEL_FIELD_MINIMUM_SPEED
public static final int CHANNEL_FIELD_MAXIMUM_SPEED
public static final int CHANNEL_FIELD_ADDITIONAL_ADVERTISED_DATA
public static final int CHANNEL_FIELD_ADDITIONAL_UNADVERTISED_DATA
public static final int CHANNEL_FIELD_ABSTRACT
public static final int CHANNEL_FIELD_CONTACT_NAME
public static final int CHANNEL_FIELD_ADVERTISING_REQUESTED
public static final int CHANNEL_FIELD_ADVERTISEMENT_ADDRESS
public static final int CHANNEL_FIELD_MULTIPLE_SENDERS_ALLOWED
public static final int CHANNEL_FIELD_ENABLED
public static final int CHANNEL_FIELD_CIPHER_MODE
| Method Detail |
public void destroy()
throws RMException,
java.rmi.RemoteException
Channel. This causes all ChannelManagers
to forget about the Channel.
The transport should not be active when destroy is called.RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public Channel duplicate()
throws LimitExceededException,
RMException,
java.rmi.RemoteException
Channel. Creates a new channel exactly
like this one, but with a new channel ID.LimitExceededException - if the PCM's channel limit has been reachedRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void validate()
throws InvalidChannelException,
RMException,
java.rmi.RemoteException
Possible causes for invalid channels include not providing a transport profile or requesting support for multiple senders and providing a transport profile that cannot support this.
InvalidChannelException - if the channel is not validRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public com.sun.multicast.reliable.channel.ChannelRMStreamSocket createRMStreamSocket(int sendReceive)
throws RMException,
java.io.IOException,
java.rmi.RemoteException,
UnsupportedException
sendReceive - indicates whether this socket is to be used
for transmitting or receiving data. Valid input is
TransportProfile.SENDER, TransportProfile.RECEIVER, or
TransportProfile.SEND_RECEIVE.RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occursUnsupportedException - if the
underlying transport does not support a stream interface.
public com.sun.multicast.reliable.channel.ChannelRMStreamSocket createRMStreamSocket(TransportProfile tp,
int sendReceive)
throws RMException,
java.io.IOException,
java.rmi.RemoteException,
UnsupportedException
tp - a transport profile to use in creating the socket. Great
care must be taken when supplying a modified transport profile to
a channel that already has one defined. Some modifications to the
profile may prohibit communication with other members of the group.sendReceive - indicates whether this socket is to be used
for transmitting or receiving data. Valid input is
TransportProfile.SENDER, TransportProfile.RECEIVER, or
TransportProfile.SEND_RECEIVE.RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occursUnsupportedException - if the
underlying transport does not support a stream interface.
public com.sun.multicast.reliable.channel.ChannelRMPacketSocket createRMPacketSocket(int sendReceive)
throws RMException,
java.rmi.RemoteException,
java.io.IOException,
UnsupportedException
sendReceive - indicates whether this socket is to be used
for transmitting or receiving data. Valid input is
TransportProfile.SENDER, TransportProfile.RECEIVER, or
TransportProfile.SEND_RECEIVE.RMException - if a
reliable-multicast-related exception occursjava.io.IOException - if an I/O error occursjava.rmi.RemoteException - if an RMI-related exception occursUnsupportedException - if the
underlying transport does not support a packet interface.
public com.sun.multicast.reliable.channel.ChannelRMPacketSocket createRMPacketSocket(TransportProfile tp,
int sendReceive)
throws RMException,
java.rmi.RemoteException,
java.io.IOException,
UnsupportedException
tp - a transport profile to use in creating the socket. Great
care must be taken when supplying a modified transport profile to
a channel that already has one defined. Some modifications to the
profile may prohibit communication with other members of the group.sendReceive - indicates whether this socket is to be used
for transmitting or receiving data. Valid input is
TransportProfile.SENDER, TransportProfile.RECEIVER, or
TransportProfile.SEND_RECEIVE.RMException - if a
reliable-multicast-related exception occursjava.io.IOException - if an I/O error occursjava.rmi.RemoteException - if an RMI-related exception occursUnsupportedException - if the
underlying transport does not support a packet interface.
public void addChannelChangeListener(com.sun.multicast.reliable.channel.ChannelChangeListener listener)
throws RMException,
java.rmi.RemoteException
listener - the listener to be addedRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void removeChannelChangeListener(com.sun.multicast.reliable.channel.ChannelChangeListener listener)
throws RMException,
java.rmi.RemoteException
listener - the listener to be removedRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setChannelName(java.lang.String name)
throws RMException,
java.rmi.RemoteException
name - the new channel nameRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setApplicationName(java.lang.String name)
throws RMException,
java.rmi.RemoteException
name - the new application nameRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setTransportProfile(TransportProfile profile)
throws InvalidChannelException,
RMException,
java.rmi.RemoteException
profile - the new transport profileInvalidChannelException - if the channel is enabled and this would cause it to become invalidRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setDataStartTime(java.util.Date startTime)
throws RMException,
java.rmi.RemoteException
startTime - the new data start timeRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setDataEndTime(java.util.Date endTime)
throws RMException,
java.rmi.RemoteException
endTime - the new data end timeRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setSessionEndTime(java.util.Date endTime)
throws RMException,
java.rmi.RemoteException
endTime - the new session end timeRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setLeadTime(int leadTime)
throws RMException,
java.rmi.RemoteException
leadTime - lead time in secondsRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setLeadTimeRandomInterval(int interval)
throws RMException,
java.rmi.RemoteException
interval - randomizer interval in secondsRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setExpirationTime(java.util.Date expirationTime)
throws RMException,
java.rmi.RemoteException
expirationTime - the new channel expiration timeRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setMinimumSpeed(int speed)
throws RMException,
java.rmi.RemoteException
The actual speed of delivery will vary over the transmission and may actually drop below this value at any given time for a given receiver, especially if the sender is sending more than one channel over the same multicast address.
speed - the new minimum speedRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setMaximumSpeed(int speed)
throws RMException,
java.rmi.RemoteException
The actual speed of delivery will vary over the transmission and may actually rise above this value at any given time for a given receiver, especially if the sender is sending more than one channel over the same multicast address.
speed - the new minimum speedRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setAdditionalAdvertisedData(java.lang.String data)
throws RMException,
java.rmi.RemoteException
data - the new additional advertised dataRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setAdditionalUnadvertisedData(java.lang.String data)
throws RMException,
java.rmi.RemoteException
data - the new additional unadvertised dataRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setAbstract(java.lang.String data)
throws RMException,
java.rmi.RemoteException
data - the new abstractRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setContactName(java.lang.String data)
throws RMException,
java.rmi.RemoteException
data - the new contact nameRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setEnabled(boolean b)
throws InvalidChannelException,
RMException,
java.rmi.RemoteException
b - if true, enable the channel;
otherwise, disable itInvalidChannelException - if the channel is invalid and enabling was requestedRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setAdvertisingRequested(boolean newAdvertising)
throws RMException,
java.rmi.RemoteException
NOTE: A channel is only advertised if it is enabled and channel advertising has been requested.
advertising - true if the channel should be advertised;
false otherwiseRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setAdvertisementAddress(java.net.InetAddress address)
throws RMException,
java.io.IOException,
java.rmi.RemoteException
address - the new multicast addressRMException - if a
reliable-multicast-related exception occursjava.io.IOException - if the address is not a multicast addressjava.rmi.RemoteException - if an RMI-related exception occurs
public void setMultipleSendersAllowed(boolean multiple)
throws InvalidChannelException,
RMException,
java.rmi.RemoteException
multiple - true if multiple senders should be allowed
on this channel;
false otherwiseInvalidChannelException - if the channel is enabled and this would cause it to become invalidRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public void setDynamicFilterList(java.util.Vector list)
throws RMException,
java.rmi.RemoteException
The dynamic filters in this list are passed to the receiver, where they are connected together using their setDataSource methods. The first dynamic filter in the list is applied to the data last.
list - the new dynamic filter listRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public java.lang.String getChannelName()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public java.lang.String getApplicationName()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public TransportProfile getTransportProfile()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public java.util.Date getDataStartTime()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public java.util.Date getDataEndTime()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public java.util.Date getSessionEndTime()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public int getLeadTime()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public int getLeadTimeRandomInterval()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public java.util.Date getExpirationTime()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public int getMinimumSpeed()
throws RMException,
java.rmi.RemoteException
The actual speed of delivery will vary over the transmission and may actually drop below this value at any given time for a given receiver, especially if the sender is sending more than one channel over the same multicast address.
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public int getMaximumSpeed()
throws RMException,
java.rmi.RemoteException
The actual speed of delivery will vary over the transmission and may actually rise above this value at any given time for a given receiver, especially if the sender is sending more than one channel over the same multicast address.
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public java.lang.String getAdditionalAdvertisedData()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public java.lang.String getAdditionalUnadvertisedData()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public java.lang.String getAbstract()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public java.lang.String getContactName()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public boolean getAdvertisingRequested()
throws RMException,
java.rmi.RemoteException
true if channel advertising has been requested;
false otherwiseRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public java.net.InetAddress getAdvertisementAddress()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public boolean isMultipleSendersAllowed()
throws RMException,
java.rmi.RemoteException
true if multiple senders are allowed on
this channel;
false otherwiseRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public java.util.Vector getDynamicFilterList()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public boolean isEnabled()
throws RMException,
java.rmi.RemoteException
true if the channel is enabled;
false otherwiseRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public boolean isValid()
throws RMException,
java.rmi.RemoteException
true if the channel is valid;
false otherwiseRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public boolean isAdvertising()
throws RMException,
java.rmi.RemoteException
true if the channel is being advertised;
false otherwiseRMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public long getChannelID()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public long getAdvertisementCount()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public int getCurrentAdvertisementInterval()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public java.util.Date getAdvertisementTimestamp()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
public java.util.Date getCreationTime()
throws RMException,
java.rmi.RemoteException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurspublic boolean isUsingCipher()
true if the channel is being advertised;
false otherwisepublic void enableCipher()
public void disableCipher()
public java.lang.String getCipherSpecFileName()
public void setCipherSpecFileName(java.lang.String cipherSpecFileName)
cipherSpecFileName - - the Name of the filename used to initialize
Cipher module.
public int getTransportReceiverCount()
throws RMException,
java.rmi.RemoteException,
UnsupportedException
RMException - if a
reliable-multicast-related exception occursjava.rmi.RemoteException - if an RMI-related exception occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
JavaTM Reliable MulticastTM Service version 1.1
Copyright (c) 2001, Sun Microsystems Laboratories, All rights reserved.