Microsoft SDK for Java

close

This method of the DirectPlay2 Class closes a previously opened session.

Syntax

public void close();

Remarks

All locally created players will be destroyed, and corresponding DPSYS_DESTROYPLAYERORGROUP system messages are sent to other session participants. However, groups will not be destroyed; use destroyGroup to destroy the group.

See Also

destroyPlayer, DPMSG_DESTROYPLAYERORGROUP, open

© 1999 Microsoft Corporation. All rights reserved. Terms of use.