Xj3D VRML/X3D Code API

org.web3d.vrml.nodes
Interface NetworkRoleListener

All Known Implementing Classes:
DISProtocolHandler, DISXMLProtocolHandler

public interface NetworkRoleListener

Notification that a network node has changed roles. Roles are defined in VRMLNetworkInterfaceNodeType.

Version:
$Revision: 1.1 $
Author:
Alan Hudson

Method Summary
 void roleChanged(int newRole, java.lang.Object node)
          The role of this node has changed.
 

Method Detail

roleChanged

public void roleChanged(int newRole,
                        java.lang.Object node)
The role of this node has changed.

Parameters:
newRole - The new role, reader, writer, inactive.
node - The node which changed roles.

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium