com.sun.media.jsdt.impl
Interface AbstractByteArrayProxy
- All Known Implementing Classes:
- ByteArrayProxy
- public abstract interface AbstractByteArrayProxy
- extends AbstractManageableProxy
JSDT abstract client-side ByteArray proxy interface.
- Version:
- 1.5 - 7th January 1999
- Author:
- Rich Burridge
Method Summary |
java.lang.Object |
getProxy()
getProxy get a handle to the "client-side" proxy for this ByteArray. |
void |
initProxy(java.lang.String name,
SessionImpl session,
java.lang.Object object)
initProxy initialise the "client-side" proxy for this ByteArray. |
void |
setValue(com.sun.media.jsdt.Client client,
byte[] value,
int offset,
int length)
setValue update a shared byte array with the given name for this
session. |
Methods inherited from interface com.sun.media.jsdt.impl.AbstractManageableProxy |
addListener,
changeListenerMask,
changeManagerMask,
destroy,
expel,
getSession,
invite,
isManaged,
join,
leave,
listClientNames,
removeListener |
initProxy
public void initProxy(java.lang.String name,
SessionImpl session,
java.lang.Object object)
-
initProxy initialise the "client-side" proxy for this ByteArray.
- Specified by:
- initProxy in interface AbstractManageableProxy
- Parameters:
name
- the name of the ByteArray proxy being constructed.session
- the client-side session the ByteArray belongs to.object
- the client-side ByteArray.
getProxy
public java.lang.Object getProxy()
-
getProxy get a handle to the "client-side" proxy for this ByteArray. *
- Specified by:
- getProxy in interface AbstractManageableProxy
- Returns:
- a handle to the "client-side" proxy for this ByteArray.
setValue
public void setValue(com.sun.media.jsdt.Client client,
byte[] value,
int offset,
int length)
throws com.sun.media.jsdt.ConnectionException,
com.sun.media.jsdt.InvalidClientException,
com.sun.media.jsdt.NoSuchByteArrayException,
com.sun.media.jsdt.NoSuchClientException,
com.sun.media.jsdt.NoSuchSessionException,
com.sun.media.jsdt.PermissionDeniedException,
com.sun.media.jsdt.TimedOutException
-
setValue update a shared byte array with the given name for this
session. Send a change notification to all the listeners of this shared
byte array.
- Parameters:
client
- a client successfully joined to this session.value
- the new value of the byte array.offset
- the offset into the byte array.length
- the length of the byte array.- Throws:
- com.sun.media.jsdt.ConnectionException - if a connection error occured.
- com.sun.media.jsdt.InvalidClientException - if the Client is invalid is some way (ie.
its getName() method returns null).
- com.sun.media.jsdt.NoSuchByteArrayException - if this byte array does exist.
- com.sun.media.jsdt.NoSuchClientException - if this Client doesn't exist.
- com.sun.media.jsdt.NoSuchSessionException - if this Session doesn't exist.
- com.sun.media.jsdt.PermissionDeniedException - if this Client does not have permission
to change the value of this ByteArray.
- com.sun.media.jsdt.TimedOutException - if no reply was received for this operation
in the given timeout period.